docs: def _is_valid_imaging_dicom(dicom_header):
      """
      Function will do some basic checks to see if this is a valid imaging dicom
      """
      # if it is philips and multiframe dicom then we assume it is ok
      try:
          if common.is_philips([dicom_header]):
              if common.is_multiframe_dicom([dicom_header]):
                  return True
  
          if "SeriesInstanceUID" not in dicom_header:
              return False
  
          if "InstanceNumber" not in dicom_header:
              return False
  
          if "ImageOrientationPatient" not in dicom_header or len(dicom_header.ImageOrientationPatient) < 6:
              return False
  
          if "ImagePositionPatient" not in dicom_header or len(dicom_header.ImagePositionPatient) < 3:
              return False
  
          # for all others if there is image position patient we assume it is ok
          if Tag(0x0020, 0x0037) not in dicom_header:
              return False
  
          return True
      except (KeyError, AttributeError):
          return False