code: def _is_determined(type_):
      for item in instructions.pattern_traverse(
          type_.tensors, leaf_type=instructions.TensorType
      ):
          if item is None:
              return False
          if item.dtype is None:
              return False
      return True
  
file_path: probability/tensorflow_probability/python/experimental/auto_batching/type_inference.py
imports: import contextlib
  import functools
  from absl import logging
  import six
  from tensorflow_probability.python.experimental.auto_batching import instructions
label_desc: Use image node_id 1 for calling a global function with example usage: _is_determined(type_) and returns: True, False, False