@Override
  public boolean isToSearchForTextOccurrences(@NotNull PsiElement element) {
    return PyCodeInsightSettings.getInstance().RENAME_SEARCH_NON_CODE_FOR_FUNCTION;
  }
@Override
  public boolean isToSearchForTextOccurrences(@NotNull PsiElement element)