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