public boolean intersects(Address addr, int sz) {
		long rangeend;
		if (joinrec != null) {
			rangeend = addr.getOffset() + sz - 1;
			for (Varnode vn : joinrec) {
				if (addr.getAddressSpace().getSpaceID() != vn.getSpace()) {
					continue;
				}
				long vnend = vn.getOffset() + vn.getSize() - 1;
				if (Long.compareUnsigned(addr.getOffset(), vn.getOffset()) < 0 &&
					Long.compareUnsigned(rangeend, vnend) < 0) {
					continue;
				}
				if (Long.compareUnsigned(addr.getOffset(), vn.getOffset()) > 0 &&
					Long.compareUnsigned(rangeend, vnend) > 0) {
					continue;
				}
				return true;
			}
		}
		if (spaceid.getSpaceID() != addr.getAddressSpace().getSpaceID()) {
			return false;
		}
		rangeend = addr.getOffset() + sz - 1;
		long thisend = addressbase + size - 1;
		if (Long.compareUnsigned(addr.getOffset(), addressbase) < 0 &&
			Long.compareUnsigned(rangeend, thisend) < 0) {
			return false;
		}
		if (Long.compareUnsigned(addr.getOffset(), addressbase) > 0 &&
			Long.compareUnsigned(rangeend, thisend) > 0) {
			return false;
		}
		return true;
	}
Does this ParamEntry intersect the given range in some way
@param addr is the starting address of the given range
@param sz is the number of bytes in the given range
@return true if there is an intersection
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/ParamEntry.java