protected boolean useParentheses() {
        return getParent() != null;
    }
Whether this should be output with parentheses, default is parent!=null
container-search/src/main/java/com/yahoo/prelude/semantics/rule/CompositeCondition.java