private static boolean processOverridingMethods(@NotNull PyFunction pyFunction,
                                                  @NotNull Processor<? super PsiElement> consumer) {
    return ReadAction.compute(() -> PyOverridingMethodsSearch.search(pyFunction, true)).forEach(consumer);
  }
private static boolean processOverridingMethods(@NotNull PyFunction pyFunction,
                                                  @NotNull Processor<? super PsiElement> consumer)