code: def are_imaging_dicoms(dicom_input):
      
  
      # if it is philips and multiframe dicom then we assume it is ok
      if common.is_philips(dicom_input):
          if common.is_multiframe_dicom(dicom_input):
              return True
  
      # for all others if there is image position patient we assume it is ok
      header = dicom_input[0]
      return Tag(0x0020, 0x0037) in header
docs: This function will check the dicom headers to see which type of series it is
      Possibilities are fMRI, DTI, Anatomical (if no clear type is found anatomical is used)
  
      :param dicom_input: directory with dicom files or a list of dicom objects