code: def is_gpu_available():
      if version.parse(tf.__version__) < version.parse("2.1.0"):
          return tf.test.is_built_with_cuda()
      else:
          return len(tf.config.list_physical_devices("GPU")) > 0
  
imports: import tensorflow
  from packaging import version
label_desc: Use image node_id 3 for calling a global function with example usage: is_gpu_available() and returns: tf, unknown