menu 8 Menu layout grid Overview $page->hasTemplate() Checks if the intended template for the page exists. $page->hasTemplate(): bool Return type bool Source code kirby/src/Cms/Page.php#L442