code: def get_dense_options(is_batched):
      if is_batched:
          return [True, False]
      else:
          return [True]
  
imports: import copy
  import numpy
  import nvidia.dali.plugin.tf
  import tensorflow
  from nvidia.dali import Pipeline, fn
  from test_utils import RandomlyShapedDataIterator
label_desc: Use image node_id 9 for calling a global function with example usage: get_dense_options(is_batched) and returns: list, list