private Range getRangeContaining(int value) {
		Range key = new Range(value, value);
		SortedSet<Range> head = set.headSet(key);
		if (!head.isEmpty()) {
			Range last = head.last();
			if (last.max >= value) {
				return last;
			}
		}
		SortedSet<Range> tail = set.tailSet(key);
		if (!tail.isEmpty()) {
			Range range = tail.first();
			if (range.min == value) {
				return range;
			}
		}
		return null;
	}
Returns true if the value is contained in any ranges within this list.
@param value the value to check for.
@return true if the value is contained in any ranges within this list.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/SortedRangeList.java