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