@Nullable
  protected final PyFunction findOnlySuitableFunction(@NotNull Editor editor, @NotNull PsiFile file) {
    return findOnlySuitableFunction(editor, file, input -> !isReturnTypeDefined(input));
  }
@Nullable
  protected final PyFunction findOnlySuitableFunction(@NotNull Editor editor, @NotNull PsiFile file)