code: public static boolean hasBackgroundImage(Element element) {
  
          String backgroundImage = CmsDomUtil.getCurrentStyle(element, Style.backgroundImage);
          if ((backgroundImage == null)
              || (backgroundImage.trim().length() == 0)
              || backgroundImage.equals(StyleValue.none.toString())) {
              return false;
          }
          return true;
      }
docs: Utility method to determine if the given element has a set background image.<p>
  
  @param element the element
  
  @return <code>true</code> if the element has a background image set