<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_snp(self, individual=0):
 """Returns a boolean list of SNP status, ordered by samples"""

        if isinstance(individual, str):
            individual = self.individuals[individual]
        alts = self.get_alt(individual=individual)
        if alts:
            return [i != self.ref and len(i) == len(self.ref) for i in alts]
        return [False]