'Set mute state.
:class:`True` to mute, :class:`False` to unmute.
Returns :class:`True` if call is successful, otherwise :class:`False`.'

def set_mute(self, mute):

    validation.check_boolean(mute)
    if (self._mixer is None):
        return False
    with _mixer_error_handling(self._mixer):
        result = self._mixer.set_mute(bool(mute)).get()
        validation.check_instance(result, bool)
        return result
    return False
