private boolean hasSameSpace(Address address1, Address address2) {
		AddressSpace space1 = address1.getAddressSpace();
		AddressSpace space2 = address2.getAddressSpace();
		return space1.equals(space2);
	}
Computes an address range for the given record. If a wrapping record (a record whose start
address is greater than its end address, so it really represents two ranges) is encountered,
it only returns the high range. The low range is specially found in the constructor and 
returned before any other ranges in that same address space are returned.
@param record the record to convert to an address range
@return the address range represented by the given record
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/util/AddressRangeMapIterator.java