def is_registered(id):
    """Check if a UUID is already registered"""
    bucket = registration_s3_bucket()
    key = registration_key(id)
    found_keys = set(obj.key for obj in bucket.objects.filter(Prefix=key))
    return key in found_keys
def is_registered ( id ) : bucket = registration_s3_bucket ( ) key = registration_key ( id ) found_keys = set ( obj . key for obj in bucket . objects . filter ( Prefix = key ) ) return key in found_keys
Check if a UUID is already registered