(PHP 5)
DOMNode::hasChildNodes — Checks if node has children
This function checks if the node has children.
如果成功则返回 TRUE,失败则返回 FALSE。