code: def is_jsonable(x: tp.Any):
      """Check if an object can be serialized into a json:"""
      try:
          json.dumps(x)
          return True
      except (TypeError, OverflowError):
          return False
  
imports: from concurrent.futures import ProcessPoolExecutor
  from contextlib import contextmanager
  from functools import wraps, lru_cache
  import hashlib
  import json
  import logging
  from pathlib import Path
  import typing
  import flashy
  import flashy.distrib
  import omegaconf
  import torch
  from torch.nn.utils.rnn import pad_sequence
label_desc: Use image node_id 17 for calling a global function with example usage: is_jsonable(x) and returns: True, False