public function isGranted($permission, Array $params = null)
    {
        if ($this->checkPermissionCurrent($permission, $params)) {
            return true;
        }

        if ($this->checkPermissionRecursive($permission, $params)) {
            return true;
        }

        return false;
    }