@Override
    protected boolean doesMatch(RuleEvaluation e) {
        Choicepoint choicepoint = e.getChoicepoint(this,true);
        choicepoint.updateState();
        boolean matches = e.currentItem().getItem().getParent() instanceof PhraseItem
                          && allSubConditionsMatches(e);
        if ( ! matches)
            choicepoint.backtrack();
        return matches;

    }
A condition on the presense of a particular kind of composite item (possibly also with a particular content)

@author bratseth
@since 5.1.15
container-search/src/main/java/com/yahoo/prelude/semantics/rule/CompositeItemCondition.java