$page->hasChildren()
Checks if the page has children.