code: def _check_is_initializer_like(initializer):
      if not (
          initializer is None
          or isinstance(initializer, chainer.Initializer)
          or callable(initializer)
          or isinstance(initializer, chainer.get_array_types())
          or numpy.isscalar(initializer)
      ):
          raise TypeError(
              "Initializer is of wrong type: {}. Allowed types are Initializer, "
              "ndarray and scalar.".format(type(initializer))
          )
  
imports: import typing
  import numpy
  import chainer
  from chainer import backend
  from chainer.backends import _chainerx
  from chainer.initializers.constant import Constant
  from chainer.initializers.constant import Identity
  from chainer.initializers.constant import NaN
  from chainer.initializers.constant import One
  from chainer.initializers.constant import Zero
  from chainer.initializers.normal import GlorotNormal
  from chainer.initializers.normal import HeNormal
  from chainer.initializers.normal import LeCunNormal
  from chainer.initializers.normal import Normal
  from chainer.initializers.orthogonal import Orthogonal
  from chainer.initializers.sampling import DownsamplingConvFilter
  from chainer.initializers.sampling import UpsamplingDeconvFilter
  from chainer.initializers.uniform import GlorotUniform
  from chainer.initializers.uniform import HeUniform
  from chainer.initializers.uniform import LeCunUniform
  from chainer.initializers.uniform import Uniform
  from chainer import types
label_desc: Use image node_id 3 for calling a global function with example usage: _check_is_initializer_like(initializer) without return types