protected function isRoleNameAlreadyUsed(Keyword $name): bool
    {
        $roles = Foundation::acl()->roles()->get();

        return $name->searchIn($roles) !== false;
    }
protected function isRoleNameAlreadyUsed(Keyword $name): bool
    {
        $roles = Foundation::acl()->roles()->get();

        return $name->searchIn($roles) !== false;
    }
protected function isRoleNameAlreadyUsed ( Keyword $ name ) : bool { $ roles = Foundation :: acl ( ) -> roles ( ) -> get ( ) ; return $ name -> searchIn ( $ roles ) !== false ; }
Check if role name is already used.

@param  \Orchestra\Support\Keyword  $name

@return bool
Check if role name is already used .