private static boolean isRegisterAddress(Program program, Address address) {

		if (!address.isRegisterAddress()) {
			return false;
		}

		Register register = program.getRegister(address);
		return register != null;
	}
@return true if location corresponds to memory address
Ghidra/Features/Base/src/main/java/ghidra/util/table/field/AddressBasedLocation.java