code: def _get_mpi_type(msgtype):
      dtype = msgtype.dtype
      if dtype not in _dtype_mpi_type.keys():
          raise TypeError(
              "dtype {} is not supported by MpiCommunicator".format(
                  dtype
              )
          )
  
      return _dtype_mpi_type[dtype]
  
imports: import mpi4py
  import numpy
  import chainer
  import chainer.backends
  import chainer.utils
  from chainer.utils import collections_abc
  from chainermn.communicators import _communication_utility
  from chainermn.communicators._communication_utility import chunked_bcast_obj
  from chainermn.communicators import _memory_utility
  from chainermn.communicators import communicator_base
  import chainerx
label_desc: Use image node_id 6 for calling a global function with example usage: _get_mpi_type(msgtype) and returns: _dtype_mpi_type