code: def test_MaskTool_inputs():
      input_map = dict(
          args=dict(
              argstr="%s",
          ),
          count=dict(
              argstr="-count",
              position=2,
          ),
          datum=dict(
              argstr="-datum %s",
          ),
          dilate_inputs=dict(
              argstr="-dilate_inputs %s",
          ),
          dilate_results=dict(
              argstr="-dilate_results %s",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          fill_dirs=dict(
              argstr="-fill_dirs %s",
              requires=["fill_holes"],
          ),
          fill_holes=dict(
              argstr="-fill_holes",
          ),
          frac=dict(
              argstr="-frac %s",
          ),
          in_file=dict(
              argstr="-input %s",
              copyfile=False,
              mandatory=True,
              position=-1,
          ),
          inter=dict(
              argstr="-inter",
          ),
          num_threads=dict(
              nohash=True,
              usedefault=True,
          ),
          out_file=dict(
              argstr="-prefix %s",
              extensions=None,
              name_source="in_file",
              name_template="%s_mask",
          ),
          outputtype=dict(),
          union=dict(
              argstr="-union",
          ),
          verbose=dict(
              argstr="-verb %s",
          ),
      )
      inputs = MaskTool.input_spec()
  
      for key, metadata in list(input_map.items()):
          for metakey, value in list(metadata.items()):
              assert getattr(inputs.traits()[key], metakey) == value
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_MaskTool_inputs() without return types