@SuppressWarnings("unchecked")
		@Override
		public boolean contains(Object o) {
			if (!wrapped.entrySet().contains(o)) {
				return false;
			}
			Entry<K, V> ent = (Entry<K, V>) o;
			V val = ent.getValue();
			if (!inBounds(val)) {
				return false;
			}
			return true;
		}
A list view suitable for {@link ValueSortedMap#entrySet()} of
{@link RestrictedValueSortedMap}
Ghidra/Framework/Generic/src/main/java/ghidra/generic/util/datastruct/RestrictedValueSortedMap.java