private boolean entriesContains(IndexStoreEntry ie) {
    for (final IndexStoreEntry entry : entries) {
      if (entry.equals(ie)) {
        return true;
      }
    }
    return false;
  }
checks the list for an matching IndexEntry
geode-core/src/integrationTest/java/org/apache/geode/cache/query/internal/index/MapIndexStoreJUnitTest.java