private static boolean canIgnoreOperator(final ExpressionOperator expressionOperator) {
        return (expressionOperator.getChildren() == null || expressionOperator.getChildren().isEmpty())
                && (!Op.NOT.equals(expressionOperator.op()));
    }
@param expressionOperator
@return True if the operator is an empty AND or OR
stroom-data/stroom-data-retention-impl/src/main/java/stroom/data/retention/impl/DataRetentionMetaCriteriaUtil.java