code: def _validated(self, data):
          
          errors = []
          for sub in self.schemas:
              try:
                  return sub(data)
              except NotValid as ex:
                  errors.extend(ex.args)
  
          raise NotValid(' and '.join(errors))
docs: Validate data if any subschema validates it.