private boolean isRead(Register register, Instruction instruction) {
		for (Object obj : instruction.getInputObjects()) {
			if (obj == register) {
				return true;
			}
		}
		return false;
	}
Determine if the specified register is read by the specified instruction.

@param register
@param instruction
@return true if register is read
Ghidra/Features/Base/src/main/java/ghidra/program/model/listing/CodeUnitFormat.java