public Boolean execute(ComplexEvent event) {
        FinderStateEvent finderStateEvent = new FinderStateEvent(streamEventSize, 0);
        try {
            if (isMatchingEventAStateEvent) {
                finderStateEvent.setEvent((StateEvent) event);
            } else {
                finderStateEvent.setEvent(matchingStreamIndex, (StreamEvent) event);
            }
            return table.containsEvent(finderStateEvent, compiledCondition);
        } finally {
            if (isMatchingEventAStateEvent) {
                finderStateEvent.setEvent(null);
            } else {
                finderStateEvent.setEvent(matchingStreamIndex, null);
            }
        }
    }
Executor class for In condition. Condition evaluation logic is implemented within executor.
modules/siddhi-core/src/main/java/io/siddhi/core/executor/condition/InConditionExpressionExecutor.java