$site->hasListedChildren() Checks if the page has any listed children kirby/src/Cms/HasChildren.php#L182 $site->hasListedChildren(): bool Return type bool Parent class Kirby\Cms\Site