(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