boolean (@NotNull PsiFile psiFile) { if (!EP_NAME.hasAnyExtensions()) { return false; } return ContainerUtil.exists(EP_NAME.getExtensionList(), supporter -> { for (Language language : psiFile.getViewProvider().getLanguages()) { if (supporter.isAvailable(psiFile, language)) return true; } return false; }); }