public function hasPermission($action)
    {
        if ($this->hasAction($action) === true) {
            $result = $this->grant($this->getPermissions(), $action);

        } else {
            throw new Doozr_Exception_Service('Action "'.$action.'" does not exist!');
        }

        return $result;
    }