code: def _maybe_convertible_to_tensor(struct):
      # Returns `True` if `struct` should be passed to `convert_to_tensor`.
      return not _is_namedtuple(struct) or _force_leaf(struct)
  
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 9 for calling a global function with example usage: _maybe_convertible_to_tensor(struct) and returns: unknown