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