def _matches(self, item):
        if item.hit_points > 0:
            is_alive = True
        else:
            is_alive = False

        return is_alive == self.alive
Check if matcher matches item
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/matchers/character.py/AliveStatus._matches