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