code: def unique_key(connection):
      
      while 1:
          key = str(uuid.uuid4().hex)
          if not connection.exists(key):
              break
      return key
docs: Generate a unique keyname that does not exists is the connection
      keyspace.