DomNode->has_child_nodes Checks if node has children &reftitle.description; boolDomNode->has_child_nodes This function checks if the node has children. See also domnode_child_nodes.