code: def _assert_validators(self, validators):
      
      for validator in sorted(
          validators, key=lambda validator: validator.insertion_index):
        try:
          validator.verify(self)
        except _exceptions.ValidationError as e:
          message = validator.print_flags_with_values(self)
          raise _exceptions.IllegalFlagValueError('%s: %s' % (message, str(e)))
docs: Asserts if all validators in the list are satisfied.
  
      It asserts validators in the order they were created.
  
      Args:
        validators: Iterable(validators.Validator), validators to be
            verified.
      Raises:
        AttributeError: Raised if validators work with a non-existing flag.
        IllegalFlagValueError: Raised if validation fails for at least one
            validator.