def is_affected(self):
        """Boolean for telling if the sample is affected."""
        phenotype = self.phenotype
        if phenotype == '1':
            return False
        elif phenotype == '2':
            return True
        else:
            return False