private boolean containsGeneralizationOf(Binding binding, List<Binding> bindings) {
                for (Binding candidate : bindings) {
                    if (candidate.generalizes(binding))
                        return true;
                }
                return false;
            }
Remove variants that are specializations of other variants in this
container-search/src/main/java/com/yahoo/search/query/profile/compiled/DimensionalValue.java