private function checkLivePermissionForAllWebspaces()
    {
        foreach ($this->get('sulu_core.webspace.webspace_manager')->getWebspaceCollection() as $webspace) {
            $context = PageAdmin::SECURITY_CONTEXT_PREFIX . $webspace->getKey();
            if (!$this->get('sulu_security.security_checker')->hasPermission($context, PermissionTypes::LIVE)) {
                return false;
            }
        }

        return true;
    }