code: def _is_tvm_arg_types(args):
      """Determine a list of element is either a list of tvm arguments of a list of numpy arguments.
      If neither is true, raise a value error."""
      if isinstance(args[0], tvm_arg_types):
          for elem in args[1:]:
              _internal_assert(
                  isinstance(elem, tvm_arg_types),
                  f"Expecting a Var, Tensor or ConstExpr instance but {type(elem)} get!",
              )
          return True
  
      _internal_assert(
          isinstance(args[0], np_arg_types),
          f"Expect a numpy type but {type(args[0])} get!",
      )
      for elem in args[1:]:
          _internal_assert(
              isinstance(elem, np_arg_types),
              f"Expect a numpy type but {type(elem)} get!",
          )
      return False
  
file_path: tvm/python/tvm/te/hybrid/utils.py
imports: import ast
  import inspect
  import logging
  import sys
  import numpy
  import tvm.runtime
  from tvm._ffi.base import numeric_types
  from tvm.ir.container import Array
  from tvm.tir import expr
  from tvm.tir import stmt
  from tvm.te.tensor import Tensor
label_desc: Use image node_id 6 for calling a global function with example usage: _is_tvm_arg_types(args) and returns: False, True