code: def is_sample_mode(self):
      return self.sample_range is not None
  
imports: from typing import Optional
  from nvidia.dali.types import SampleInfo
  from nvidia.dali._multiproc.struct_message import Structure
label_desc: Use image node_id 4 for calling the TaskArgs obj's underlying member method code with example usage: obj.is_sample_mode() and returns: unknown