code: def get_max_value_key(dic):
      """Gets the key for the maximum value in a dict."""
      v = np.array(list(dic.values()))
      k = np.array(list(dic.keys()))
  
      maxima = np.where(v == np.max(v))[0]
      if len(maxima) == 1:
          return k[maxima[0]]
  
      # In order to be consistent, always selects the minimum key
      # (guaranteed to be unique) when there are multiple maximum values.
      return k[maxima[np.argmin(k[maxima])]]
  
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: get_max_value_key(dic) and returns: k, k