code: def get_type_registered(type_code):
      """Returns true if a custom datatype is registered under the given type code
  
      Example:
  
      .. code-block:: python
  
          tvm.target.datatype.register('posites2', 130)
          assert tvm.target.datatype.get_type_registered(130)
  
      Parameters
      ----------
      type_code: int
          The type code
  
      Returns
      -------
      type_registered : bool
          True if a custom datatype is registered under this type code, and false
          otherwise.
      """
      return tvm.runtime._ffi_api._datatype_get_type_registered(
          type_code
      )
  
file_path: tvm/python/tvm/target/datatype.py
imports: import tvm
  from tvm.runtime import convert, DataType
  from tvm.tir.expr import Call, Cast, FloatImm, BinaryOpExpr
  from tvm.tir.op import call_pure_extern
  from tvm._ffi import register_func
  from tvm.tir import call_intrin
label_desc: Use image node_id 4 for calling a global function with example usage: get_type_registered(type_code) and returns: tvm