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