public function hasActiveRestriction($role_id, $action) { return $this->getRawAttribute('restricted') && $this->hasRestriction($role_id, $action); }