code: def test_ad_init():
      ad = ra.ArtifactDetect(use_differences=[True, False])
      assert ad.inputs.use_differences[0]
      assert not ad.inputs.use_differences[1]
  
file_path: nipype/nipype/algorithms/tests/test_rapidart.py
imports: import numpy
  import numpy.testing
  from ..None import rapidart
  from ...interfaces.base import Bunch
label_desc: Use image node_id 1 for calling a global function with example usage: test_ad_init() without return types