$page->isParentOf($child)
Checks if the page is the parent of the given page.