$page->is() Compares the current object with the given page object kirby/src/Cms/Page.php#L546 $page->is(\Kirby\Cms\Page|string $page): bool Parameters Name Type Default $page * Kirby\Cms\Page|string – Return type bool Parent class Kirby\Cms\Page