@Override
  public boolean contains(Object obj) {
    if (hasLimitIterator) {
      // Keith: Optimize case where contains is false, avoids iteration
      boolean peak = base.contains(obj);
      if (!peak) {
        return false;
      }
      Iterator itr = iterator();
      boolean found = false;
      while (itr.hasNext()) {
        if (itr.next().equals(obj)) {
          found = true;
          break;
        }
      }
      return found;
    } else {
      return base.contains(obj);
    }
  }
no-arg constructor required for DataSerializable
geode-core/src/main/java/org/apache/geode/cache/query/internal/ResultsCollectionWrapper.java