Zend\Permissions\Acl\Role\Registry::has
Returns true if and only if the Role exists in the registry
The $role parameter can either be a Role or a Role identifier.
Signature
public function has(RoleInterface|string
$role )
Parameters
$role
— object
Returns
- bool