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