public static boolean isHtml(CustomTemplateCallback callback) {
    FileType type = callback.getFileType();
    if (type == HtmlFileType.INSTANCE || type == XHtmlFileType.INSTANCE) {
      return true;
    }
    return type instanceof LanguageFileType && ((LanguageFileType)type).getLanguage().isKindOf(HTMLLanguage.INSTANCE);
  }
public static boolean isHtml(CustomTemplateCallback callback)