code: def is_json_serializable(data):
      try:
          json.dumps(data)
          return True
      except TypeError:
          return False
  
imports: import json
  from typing import Any, Dict, List, Union
label_desc: Use image node_id 1 for calling a global function with example usage: is_json_serializable(data) and returns: True, False