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