boolean (@NotNull PsiFile file) { if (InjectedLanguageManager.getInstance(file.getProject()).getInjectionHost(file) == null) return true; var language = file.getLanguage(); return language instanceof HTMLLanguage && language != HTMLLanguage.INSTANCE; }