code: private boolean isEmptyElement(CmsXmlPage page, String element, Locale locale) {
  
          CmsXmlHtmlValue xmlHtmlValue = (CmsXmlHtmlValue)page.getValue(element, locale);
          if (CmsStringUtil.isNotEmpty(xmlHtmlValue.getPlainText(getCms()))) {
              return false;
          }
  
          return true;
      }
docs: Checks if the specified element/locale of the given page has a content.<p>
  
  @param page the xml page
  @param element the element name
  @param locale the locale
  @return false if the specified element/locale of the given page has a content; otherwise true