public boolean intersects(FieldRange range) {
		if (compareTo(range) > 0) {
			return range.intersects(this);
		}
		return end.compareTo(range.start) > 0;
	}
checks if the given location is contained in the range.
@param loc the field location.
@return true if the field range contains the specified location.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/FieldRange.java