code: def _channel_kwarg(is_multichannel=False):
      if np.lib.NumpyVersion(skimage.__version__) < "0.19.0":
          return dict(multichannel=is_multichannel)
      else:
          return dict(channel_axis=-1 if is_multichannel else None)
  
imports: import os
  import numpy
  import skimage
label_desc: Use image node_id 1 for calling a global function with example usage: _channel_kwarg(is_multichannel) and returns: dict, dict