def check_status(self):
        if self.health <= 0:
            self._cancel_actions()
            self.fight.end_all()
            self.die()
        else:
            self.start_refresh()
        self.status_change()
        try:
            self.last_opponent.status_change()
        except __HOLE__:
            pass
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/lpmud/entity.py/EntityLP.check_status