code: def dictfix(x, spec):
      assert isinstance(x, dict) or x is None
      assert isinstance(spec, (NoneOr, dict))
      return _dictfix(x, spec)
  
label_desc: Use image node_id 1 for calling a global function with example usage: dictfix(x, spec) and returns: _dictfix