LanguageLevel (@NotNull PsiElement element) { final LanguageLevel latestVersion = getLatestConfiguredCompatiblePythonVersion(element); return latestVersion != null && !latestVersion.isPython2() ? latestVersion : null; }