code: def verify_exif(filename):
      '''
      Check that image file has the required EXIF fields.
      Incompatible files will be ignored server side.
      '''
      # required tags in IFD name convention
      required_exif = required_fields()
      exif = ExifRead(filename)
      required_exif_exist = exif.fields_exist(required_exif)
      return required_exif_exisf verify_exif(filename):
      '''
      Check that image file has the required EXIF fields.
      Incompatible files will be ignored server side.
      '''
      # required tags in IFD name convention
      required_exif = required_fields()
      exif = ExifRead(filename)
      required_exif_exist = exif.fields_exist(required_exif)
      return required_exif_exist
docs: Check that image file has the required EXIF fields.
      Incompatible files will be ignored server side.