private boolean isInCurrentAddressSpace(Address address) {
		if (fromAddress == null) {
			return true;
		}

		AddressSpace currentSpace = fromAddress.getAddressSpace();
		return currentSpace.equals(address.getAddressSpace());
	}
Returns the programs to search. If searching more than the current program, make sure
the current program is first in the list.
@return the list of program to search with the current program first
Ghidra/Features/Base/src/main/java/ghidra/app/util/navigation/GoToQuery.java