$site->hasChildren() Checks if the model has any published children kirby/src/Cms/HasChildren.php#L175 $site->hasChildren(): bool Return type bool Parent class Kirby\Cms\Site