code: def checks(self):
          '''Return the list of all check methods.'''
          condition = lambda a: a.startswith('check_')
          return (getattr(self, a) for a in dir(self) if condition(a)f checks(self):
          '''Return the list of all check methods.'''
          condition = lambda a: a.startswith('check_')
          return (getattr(self, a) for a in dir(self) if condition(a))
docs: Return the list of all check methods.