def has_deletion(self, individual=<NUM_LIT:0>):
if isinstance(individual, str):<EOL><INDENT>individual = self.individuals[individual]<EOL><DEDENT>alts = self.get_alt(individual=individual)<EOL>if alts:<EOL><INDENT>return [i != self.ref and len(i) < len(self.ref) for i in alts]<EOL><DEDENT>return [False]<EOL>
Returns a boolean list of deletion status, ordered by samples