@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
    if (!(file instanceof PyFile) || file instanceof PyDocstringFile) return false;
    updateText(false);

    if (findOnlySuitableParameter(editor, file) != null) {
      return true;
    }
    if (findOnlySuitableFunction(editor, file) != null) {
      updateText(true);
      return true;
    }
    return false;
  }
@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file)