public Boolean execute(ComplexEvent event) {
        Object result = conditionExecutor.execute(event);
        if (result == null) {
            return Boolean.FALSE;
        } else {
            return (Boolean) result;
        }
    }
Executor class for Boolean condition. Condition evaluation logic is implemented within executor.
modules/siddhi-core/src/main/java/io/siddhi/core/executor/condition/BoolConditionExpressionExecutor.java