private boolean isRegisterAssociatedWithReferencedVariable(Variable variable,
			Register register) {
		if (variable == null || !variable.isRegisterVariable()) {
			return false;
		}
		return (register == variable.getRegister());
	}
Determine if the referencedVariable corresponds to the specified
register.

@param variable
@param register
@return true if variable is a RegisterVariable corresponding to the
        specified register.
Ghidra/Features/Base/src/main/java/ghidra/program/model/listing/CodeUnitFormat.java