Node.py
def is_mutation_already_lost(self, mutation_id, k=3):
        """
            Checks if mutation is already lost in the current tree
        """
        for par in self.iter_ancestors():
            if par.loss and par.mutation_id == mutation_id:
                return True

        return False

            Checks if mutation is already lost in the current tree
        
Checks if mutation is already lost in the current tree
Checks if mutation is already lost in the current tree
def is_mutation_already_lost(self, mutation_id, k=3):
        for par in self.iter_ancestors():
            if par.loss and par.mutation_id == mutation_id:
                return True
        return False
def is_mutation_already_lost ( self , mutation_id , k = 3 ) : for par in self . iter_ancestors ( ) : if par . loss and par . mutation_id == mutation_id : return True return False
Checks if mutation is already lost in the current tree
Checks if mutation is already lost in the current tree
"""
            Checks if mutation is already lost in the current tree
        """
self
mutation_id
k