code: def expand_as_args(args):
      """Returns `True` if `args` should be expanded as `*args`."""
      return (
          isinstance(args, collections.abc.Sequence)
          and not _is_namedtuple(args)
          and not _force_leaf(args)
      ) or _force_expand_as_args(args)
  
imports: import collections
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow.python.util import nest
label_desc: Use image node_id 7 for calling a global function with example usage: expand_as_args(args) and returns: unknown