def uuid4(value):
    if uuid.UUID(value, version=4).hex != value:
        raise exceptions.ValidationError("{0} is not a valid UUID version 4.".format(value))
    return value
Check if ``value`` is a valid UUID version 4.
dataset/ETHPy150Open transcode-de/durga/durga/validators.py/uuid4