code: def _dict_like(x):
      """Returns true if an object is a dict or convertible to one, false if not."""
      try:
          _ = dict(x)
      except (TypeError, ValueError):
          return False
      return True
  
imports: from typing import Any
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _dict_like(x) and returns: True, False