public static boolean isEmptyScope(@NotNull SearchScope scope) {
    return scope == GlobalSearchScope.EMPTY_SCOPE || scope == LocalSearchScope.EMPTY;
  }
public static boolean isEmptyScope(@NotNull SearchScope scope)