private static boolean hasPreviewProvider(@NotNull SETab tab) {
    return !ContainerUtil.filterIsInstance(tab.getContributors(), SearchEverywherePreviewProvider.class).isEmpty();
  }
private static boolean hasPreviewProvider(@NotNull SETab tab)