static boolean elementsSelectorRequiringQuery(SummaryElementsSelector elementsSelector) {
        return switch (elementsSelector.getSelect()) {
            case ALL -> false;
            case BY_MATCH -> true;
            case BY_SUMMARY_FEATURE -> true;
        };
    }
An elements selector that needs the query to perform its computations.
We need this because some model information is shared through configs instead of model - see usage
config-model/src/main/java/com/yahoo/schema/derived/SummaryClass.java