$pages->has($page)

Checks if a $page object is included in the collection

<?php if($page->children()->has('some-page')): ?>
There exists a subpage with the uid `some-page`
<?php endif ?>