public static boolean isHtmlFile(@NotNull PsiElement element) {
    Language language = element.getLanguage();
    return language.isKindOf(HTMLLanguage.INSTANCE) || language.isKindOf(XHTMLLanguage.INSTANCE);
  }
public static boolean isHtmlFile(@NotNull PsiElement element)