'Does all the sanity check for the current environment:
* that a page exists
* permissions check on the current page
It returns the page menu or None if the above conditions are not met'

def _setup_extension_toolbar(self):

    page = self._get_page()
    if (page and user_can_change_page(self.request.user, page=page)):
        return self.toolbar.get_or_create_menu('page')
    return
