code: public boolean hasChildNodes(int nodeHandle)
    {
  
      int identity = makeNodeIdentity(nodeHandle);
      int firstChild = _firstch(identity);
  
      return firstChild != DTM.NULL;
    }
docs: Given a node handle, test if it has child nodes.
  <p> %REVIEW% This is obviously useful at the DOM layer, where it
  would permit testing this without having to create a proxy
  node. It's less useful in the DTM API, where
  (dtm.getFirstChild(nodeHandle)!=DTM.NULL) is just as fast and
  almost as self-evident. But it's a convenience, and eases porting
  of DOM code to DTM.  </p>
  
  @param nodeHandle int Handle of the node.
  @return int true if the given node has child nodes.