code: def no_nifty_tool(cmd=None):
      return which(cmd) is None
  
file_path: nipype/nipype/interfaces/niftyreg/tests/test_regutils.py
imports: import os
  import pytest
  from ....utils.filemanip import which
  from ....testing import example_data
  from ..None import get_custom_path, RegAverage, RegResample, RegJacobian, RegTools, RegMeasure, RegTransform
label_desc: Use image node_id 1 for calling a global function with example usage: no_nifty_tool(cmd) and returns: unknown