I prefer a more explicit interface:
```php
public function hasRole(RoleInterface $role);
public function hasRoleName($roleName);
```