<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_domain_user_role(request, user, role, domain=None):
 """Removes a given single role for a user from a domain."""

    manager = keystoneclient(request, admin=True).roles
    return manager.revoke(role, user=user, domain=domain)