code: def _is_list_like(x):
      """Helper which returns `True` if input is `list`-like."""
      return isinstance(x, (tuple, list))
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import distribution_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.math.generic import reduce_logmeanexp
label_desc: Use image node_id 17 for calling a global function with example usage: _is_list_like(x) and returns: isinstance