@Override
    public boolean contains(StateEvent matchingEvent, IndexedEventHolder indexedEventHolder) {
        return indexedEventHolder.containsEventSet(attribute, operator, valueExpressionExecutor.execute(matchingEvent));
    }
Implementation of {@link CollectionExecutor} which handle compare condition.
modules/siddhi-core/src/main/java/io/siddhi/core/util/collection/executor/CompareCollectionExecutor.java