$page->isDraft() Checks if the current page is a draft kirby/src/Cms/Page.php#L720 $page->isDraft(): bool Return type bool Parent class Kirby\Cms\Page