<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_snv(self):
 """Is the variant a single nucleotide variant"""

        return (len(self.ref) == len(self.alt) == 1) and (self.ref != self.alt)