docs: def _is_diffusion_imaging(grouped_dicoms):
      """
      Use this function to detect if a dicom series is a ge dti dataset
      NOTE: We already assume this is a 4D dataset
      """
      # we already assume 4D images as input
  
      # check if contains dti bval information
      bval_tag = Tag(0x0043, 0x1039)  # put this there as this is a slow step and used a lot
      found_bval = False
      for header in list(itertools.chain.from_iterable(grouped_dicoms)):
          if bval_tag in header and int(header[bval_tag].value[0]) != 0:
              found_bval = True
              break
      if not found_bval:
          return False
  
      return True