#NEWLINE# def _matches( self , item ) : #NEWLINE# #INDENT# '\n        Check if matcher matches item\n\n        :param item: object to match against\n        :returns: True if matching, otherwise False\n        :rtype: Boolean\n        ' #NEWLINE# if ( is_alive . hit_points > 0 ) : #NEWLINE# #INDENT# is_alive = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# is_alive = False #NEWLINE# #UNINDENT# return ( is_alive == self . alive )