public static boolean isEnabled(final ExpressionItem expressionItem) {
        return expressionItem != null && expressionItem.enabled();
    }
@return True if non-null and enalbed
stroom-query/stroom-query-api/src/main/java/stroom/query/api/ExpressionItem.java