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))
def checks ( self ) : condition = lambda a : a . startswith ( 'check_' ) return ( getattr ( self , a ) for a in dir ( self ) if condition ( a ) )
Return the list of all check methods.