code: def is_nvjpeg_lossless_supported(device_id):
      return (
          get_arch(device_id) >= 6.0
          and nvidia.dali.backend.GetNvjpegVersion() >= 12020
      )
  
imports: import glob
  import math
  import numpy
  import nvidia.dali.backend
  import nvidia.dali.fn
  import nvidia.dali.types
  import os
  import random
  from nvidia.dali import pipeline_def
  from nose_utils import assert_raises
  from test_utils import compare_pipelines
  from test_utils import get_dali_extra_path
  from test_utils import to_array
  from test_utils import get_arch
  from nose2.tools import params
  from nose import SkipTest
label_desc: Use image node_id 26 for calling a global function with example usage: is_nvjpeg_lossless_supported(device_id) and returns: unknown