(PHP 5, PHP 7)
DOMNode::hasChildNodes — Checks if node has children
This function checks if the node has children.
Returns true on success or false on failure.
true
false