def METHOD_NAME(self, creature_mgr):
    leader_evade = creature_mgr.guid == self.leader.guid
    if self.group_flags & CreatureGroupFlags.OPTION_RESPAWN_ALL_ON_ANY_EVADE or \
            (self.group_flags & CreatureGroupFlags.OPTION_RESPAWN_ALL_ON_MASTER_EVADE and leader_evade):
        for guid, member in self.members.items():
            member.creature.despawn()
        self.disband()
    elif self.group_flags & CreatureGroupFlags.OPTION_EVADE_TOGETHER:
        for guid, member in self.members.items():
            if guid == creature_mgr.guid or not member.creature.is_alive or not member.creature.combat_target:
                continue
            member.creature.leave_combat()