def aria_bool(value):
    """ aria2 rpc requires strings for some boolean arguments like 'continue'
	"""
    if value is None:
        return None
    elif value is True:
        return 'true'
    elif value is False:
        return 'false'
    else:
        raise ValueError(str(value))
