private boolean ruleActionsContainField(final String field,
                                            final List<DataRetentionRuleAction> ruleActions) {
        return ruleActions.stream()
                .anyMatch(ruleAction ->
                        NullSafe.test(
                                ruleAction.getRule(),
                                DataRetentionRule::getExpression,
                                expr -> expr.containsField(field)));
    }
@return True if any term in any expression uses field {@code field}.
stroom-meta/stroom-meta-impl-db/src/main/java/stroom/meta/impl/db/MetaDaoImpl.java