$page->hasDrafts() Checks if the model has any draft children kirby/src/Cms/HasChildren.php#L185 $page->hasDrafts(): bool Return type bool Parent class Kirby\Cms\Page