# $productPage->isDescendantOfActive()

> Checks if the page is a descendant of the currently active page

- Source: `src/Cms/Page.php#L653` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/Page.php#L653>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$productPage->isDescendantOfActive(): bool
```

## Return type

`bool`

## Parent class

`Wagnerwagner\Merx\ProductPage` inherited from `Kirby\Cms\Page`
