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