code: def random_key(prefix, delimiter=":", cmap=None):
      """Generate a random key
  
      Parameters
      ----------
      prefix : str
          The string prefix
  
      delimiter : str
          The delimiter
  
      cmap : dict
          Conflict map
  
      Returns
      -------
      key : str
          The generated random key
      """
      while True:
          key = f"{prefix}{delimiter}{random.random()}"
          if not cmap or key not in cmap:
              break
      return key
  
file_path: tvm/python/tvm/rpc/base.py
imports: import socket
  import time
  import json
  import errno
  import struct
  import random
  import logging
  from .._ffi.base import py_str
label_desc: Use image node_id 5 for calling a global function with example usage: random_key(prefix, delimiter, cmap) and returns: key