public function isDescendantOf(Page $page, $strict = true)
    {
        if ($this === $page) {
            return !$strict;
        }

        if (!$this->hasMainSection()) {
            return $page === $this->getParent() || $this->getSection()->isDescendantOf($page->getSection());
        }

        return $this->getSection()->isDescendantOf($page->getSection(), $strict);
    }