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