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