code: public static boolean hasJspBody(Element element) {
          boolean hasJspBody = false;
          boolean jspBodyFound = false;
          
          NodeList children = element.getChildNodes();
          for (int i = 0; i < children.getLength(); i++) {
              Node child = children.item(i);
              if (child instanceof Element) {
                  Element childElement = (Element)child;
                  if (childElement.getNamespaceURI() != null && childElement.getNamespaceURI().equals(Constants.JSP_NAMESPACE) &&
                      childElement.getLocalName().equals(Constants.JSP_BODY_TYPE)) {
                      if (childElement.hasChildNodes()) {                            
                          hasJspBody = true;
                          break;
                      }
                  }
              }
          }
          return hasJspBody;
      }
docs: LIDB4147-9 End