code: def ishashable(x):
      """Is x hashable?
  
      Examples
      --------
      >>> ishashable(1)
      True
      >>> ishashable([1])
      False
  
      """
      try:
          hash(x)
          return True
      except TypeError:
          return False
  
imports: from collections import defaultdict
  from typing import List, Sequence
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 1 for calling a global function with example usage: ishashable(x) and returns: True, False