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