menu 8 Menu Overview $site->hasChildren() Checks if the model has any children $site->hasChildren(): bool Return type bool Source code kirby/src/Cms/HasChildren.php#L162