public static @NotNull LanguageLevel forElement(@NotNull PsiElement element) {
    return PyLanguageFacade.Companion.getINSTANCE().forLanguage(element);
  }
public static @NotNull LanguageLevel forElement(@NotNull PsiElement element)