$page->hasTemplate() Checks if the intended template for the page exists. kirby/src/Cms/Page.php#L478 $page->hasTemplate(): bool Return type bool Parent class Kirby\Cms\Page