code: def check_methods(self, resource):
          '''Iteratively check all methods (endpoints) in the Resource.'''
          checker = ResourceMethodChecker()
          errors = []
          for callback in resource.callbacks:
              new_errors = checker(callback)
              if new_errors:
                  errors.extend(new_errors)
          return errorf check_methods(self, resource):
          '''Iteratively check all methods (endpoints) in the Resource.'''
          checker = ResourceMethodChecker()
          errors = []
          for callback in resource.callbacks:
              new_errors = checker(callback)
              if new_errors:
                  errors.extend(new_errors)
          return errors
docs: Iteratively check all methods (endpoints) in the Resource.