code: def verify(self, obj):
          
  
          if len(self._options) == 0:
              raise ValidationError("No options", reason='no options given in options verifier, matching not possible',
                                    object=obj)
  
          exceptions = {}
  
          for i, option in enumerate(self._options):
              try:
                  obj = option.verify(obj)
                  return obj
              except ValidationError as exc:
                  exceptions['option_%d' % (i+1)] = exc.params['reason']
  
          raise ValidationError("Object did not match any of a set of options",
                                reason="object did not match any given option (first failure = '%s')"
                                       % exceptions['option_1'], **exceptions)
docs: Verify that the object conforms to this verifier's schema
  
          Args:
              obj (object): A python object to verify
  
          Raises:
              ValidationError: If there is a problem verifying the dictionary, a
                  ValidationError is thrown with at least the reason key set indicating
                  the reason for the lack of validation.