docs: def failed(self, fail_on_warnings=True):
          """Returns a boolean value describing whether the validation
          succeeded or not."""
  
          return bool(self.errors) or (fail_on_warnings and bool(self.warnings))