code: def _get_devs(self):
      devs = [False]
      if (
          tft.is_gpu_available(cuda_only=True)
          and tft.is_built_with_cuda()
      ):
          devs += [True]
  
      return devs
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import tensorflow
  import tensorflow.test
  from niftynet.contrib.layer.resampler_optional_niftyreg import ResamplerOptionalNiftyRegLayer
  from tests.niftynet_testcase import NiftyNetTestCase
  import niftynet.contrib.layer.resampler_optional_niftyreg
label_desc: Use image node_id 4 for calling the ResamplerTest obj's underlying member method code with example usage: obj._get_devs() and returns: devs