public boolean agrees(Object that) {
		if (that instanceof Long) {
			return agrees(((Long) that).longValue());
		}
		else if (that instanceof MaskedLong) {
			return agrees((MaskedLong) that);
		}
		else {
			throw new IllegalArgumentException("must be Long or MaskedLong: " + that);
		}
	}
Check if this and another object agree

@param that a {@link MaskedLong} or {@link Long} to check.
@see #agrees(MaskedLong)
@see #agrees(long)
@return true if this and that agree.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/expr/MaskedLong.java