$page->hasNextVisible()

Checks if the page has a next visible sibling