code: def check_dict(self, dic, key, param="list"):
      if key not in dic:
          if param == "list":
              dic[key] = []
          elif param == "dict":
              dic[key] = {}
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import sys
  import struct
  from euler.tools import json2meta
  from euler.tools.util import *
  import os
label_desc: Use image node_id 2 for calling the Converter obj's underlying member method code with example usage: obj.check_dict(dic, key, param) without return types