$pagination->hasPages()
Checks if there are any pages at all
$pagination->hasPages(): boolReturn type
bool
This method modifies the existing $pagination object it is applied to and returns it again.
Parent class
	Kirby\Cms\Pagination
		inherited from Kirby\Toolkit\Pagination	
Examples
<?php
$subpages   = $page->children()->paginate(10);
$pagination = $subpages->pagination();
?>
<!-- foreach loop with subpages -->
<?php if ($pagination->hasPages()): ?>
<!-- put pagination here -->
<?php endif ?>