@Override
  public boolean containsEntry(RegionEntry entry) {
    return (entryToValuesMap.containsEntry(entry)
        || nullMappedEntries.containsEntry(entry)
        || undefinedMappedEntries.containsEntry(entry));
  }
Method called while appropriate lock held
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/RangeIndex.java