private boolean equivalentCodeUnits(CodeUnit cu1, CodeUnit cu2) {

		// Check mnemonics.
		if (!isSameMnemonic(cu1, cu2)) {
			return false;
		}

		// Check operands.
		if (doesEntireOperandSetDiffer(cu1, cu2)) {
			return false;
		}
		int[] operandsThatDiffer = getOperandsThatDiffer(cu1, cu2);
		return (operandsThatDiffer != null && operandsThatDiffer.length == 0);
	}
Determines if this ListingDiff currently has an address correlation to use.
@return true if it has an address correlation currently.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ListingDiff.java