code: def hashable(obj):
      try:
          hash(obj)
          return obj
      except TypeError:
          return json.dumps({"_": obj}, sort_keys=True)
  
imports: import collections
  import inspect
  import json
  import types
  import unittest
  import warnings
  import math
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: hashable(obj) and returns: obj, json