private static <T> boolean canClearFilter(@NotNull PersistentSearchEverywhereContributorFilter<T> filter) {
      return ContainerUtil.exists(filter.getAllElements(), o -> !filter.isSelected(o));
    }
private static <T> boolean canClearFilter(@NotNull PersistentSearchEverywhereContributorFilter<T> filter)