boolean (@NotNull Project project, Editor editor, @NotNull PsiElement element) { if (ContainerUtil.isEmpty(getAvailableLanguages(project))) { return false; } setText(getFamilyName()); return element.isValid(); }