protected function CanCreateAfter()
    {
        $parent = $this->tree->ParentOf($this->page);
        if ($parent)
        {
            return BackendModule::Guard()->Allow(BackendAction::Create(), $parent);
        }
        return BackendModule::Guard()->GrantAddPageToSite($this->page->GetSite())
                ->ToBool();
    }