code: def is_json_serializable(item):
      """
      Test if an object is serializable into JSON
  
      :param item: (object) The object to be tested for JSON serialization.
      :return: (bool) True if object is JSON serializable, false otherwise.
      """
      # Try with try-except struct.
      json_serializable = True
      try:
          _ = json.dumps(item)
      except TypeError:
          json_serializable = False
      return json_serializable
  
file_path: stable-baselines/stable_baselines/common/save_util.py
imports: import base64
  from collections import OrderedDict
  import io
  import json
  import pickle
  import cloudpickle
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: is_json_serializable(item) and returns: json_serializable