public boolean hasCondition(final Condition... conditions) {
        if (conditions != null && this.condition != null) {
            for (final Condition condition : conditions) {
                if (Objects.equals(this.condition, condition)) {
                    return true;
                }
            }
        }
        return false;
    }
@return True if this term has one of the supplied conditions
stroom-query/stroom-query-api/src/main/java/stroom/query/api/ExpressionTerm.java