#NEWLINE# @ classmethod #NEWLINE# def __match_all( cls , i , kwargs ) : #NEWLINE# #INDENT# items = kwargs . items ( ) #NEWLINE# return all ( [ ( ( getattr ( i , k ) == v ) or ( unicode ( getattr ( i , k ) ) == v ) ) for ( k , v ) in items ] )