public static boolean hasHtml(@NotNull PsiFile file) {
    return isHtmlFile(file) || file.getViewProvider() instanceof TemplateLanguageFileViewProvider;
  }
public static boolean hasHtml(@NotNull PsiFile file)