code: def _is_dict_like(x):
      """Returns `True` if input is convertible to `dict`, `False` otherwise."""
      return hasattr(x, "_asdict") or isinstance(
          x, collections.abc.Mapping
      )
  
imports: import collections
  import functools
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import joint_distribution_sequential
  from tensorflow_probability.python.internal import auto_composite_tensor
  from tensorflow_probability.python.internal import distribution_util
label_desc: Use image node_id 4 for calling a global function with example usage: _is_dict_like(x) and returns: unknown