public boolean contains(long timestamp, Map<String, Object> containsConditionParameterMap,
                            CompiledCondition compiledCondition) throws ConnectionUnavailableException {
        S state = stateHolder.getState();
        try {
            return contains(timestamp, containsConditionParameterMap, compiledCondition,
                    recordTableHandlerCallback, state);
        } finally {
            stateHolder.returnState(state);
        }
    }
@param timestamp                  the timestamp of the event used to match from record table
@param findConditionParameterMap  map of matching StreamVariable Ids and their values
                                  corresponding to the compiled condition
@param compiledCondition          the compiledCondition against which records should be matched
@param recordTableHandlerCallback call back to do operations on the record table
@param state
@return RecordIterator of matching records
@throws ConnectionUnavailableException
modules/siddhi-core/src/main/java/io/siddhi/core/table/record/RecordTableHandler.java