code: public static boolean hasChildNode(Node parentNode, String nodeName){
                  return getChildNode(parentNode, nodeName, null) != null ? true : false;
          }
docs: Determine if the parent node contains a child node with matching name
  @param parentNode - the parent node
  @param nodeName - name of child node to match
  @return boolean value to indicate whether the parent node contains matching child node