menu 8 Menu Overview $page->isPublished() Checks if the page is not a draft. $page->isPublished(): bool Return type bool Source code kirby/src/Cms/Page.php#L793