public boolean containsEntirely(int index) {
		if (start.getIndex().intValue() > index ||
			((start.getIndex().intValue() == index) &&
				(start.fieldNum != 0 || start.row != 0 || start.col != 0))) {
			return false;
		}
		if (end.getIndex().intValue() <= index) {
			return false;
		}
		return true;
	}
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