code: def _get_orig_items(data):
      
      if isinstance(data, dict):
          if dd.get_align_bam(data) and tz.get_in(["metadata", "batch"], data) and "group_orig" in data:
              return vmulti.get_orig_items(data)
          else:
              return [data]
      else:
          return data
docs: Retrieve original items in a batch, handling CWL and standard cases.