code: public static boolean hasChildElement(NodeList list) {
  		
  		Node n;
  
  		for(int i = 0; i < list.getLength(); i++) {
  			n = list.item(i);
  
  			if(n.getNodeType() == Node.ELEMENT_NODE) {
  				return true;
  			}
  		}
  
  		return false;
  		
  	}
docs: Checks if the given {@link NodeList} contains a child element.
  
  @param list The {@link NodeList} to check.
  @return Whether the {@link NodeList} contains children.