code: @Override
      public boolean isEnabled(String name, Locale locale) {
  
          CmsXmlHtmlValue value = (CmsXmlHtmlValue)getValue(name, locale);
  
          if (value != null) {
              Element element = value.getElement();
              Attribute enabled = element.attribute(ATTRIBUTE_ENABLED);
              return ((enabled == null) || Boolean.valueOf(enabled.getValue()).booleanValue());
          }
  
          return false;
      }
docs: Checks if the element of a page object is enabled.<p>
  
  @param name the name of the element
  @param locale the locale of the element
  @return true if the element exists and is not disabled