code: def merge_dict(d1, d2):
      """
      d1 <-- d2
      """
      d = copy.deepcopy(d2)
      for k, v in list(d1.items()):
          if k not in d:
              d[k] = v
          else:
              if isinstance(v, dict):
                  d[k] = merge_dict(d1[k], d[k])
      return d
  
imports: import pickle
  import six
  import copy
label_desc: Use image node_id 7 for calling a global function with example usage: merge_dict(d1, d2) and returns: d