code: def _insert_to_dict(d, key, e):
      # d is a dict where key maps to a list
      if key not in d:
          d[key] = []
      if e not in d[key]:
          d[key].append(e)
  
imports: import keras
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _insert_to_dict(d, key, e) without return types