public static boolean containsFileOfType(@NotNull FileType type, @NotNull GlobalSearchScope scope) {
    return !processFiles(type, CommonProcessors.alwaysFalse(), scope);
  }
public static boolean containsFileOfType(@NotNull FileType type, @NotNull GlobalSearchScope scope)