def check_cmms_affection_status(self, ind_object):
        """
        Check if the affection status is correct.
        
        Args:
            ind_object  : An Individuals object
        
        Yields:
            bool : True if affection status is correct
                    False otherwise
        """
        valid_affection_statuses = ['A', 'U', 'X']
        ind_id = ind_object.individual_id.split('-')
        phenotype = ind_object.phenotype
        affection_status = ind_id[-1][-1]
        
        if affection_status not in valid_affection_statuses:
            raise WrongAffectionStatus(ind_object.individual_id, 
                                        valid_affection_statuses)
        
        if (affection_status == 'A' and phenotype != 2 or 
            affection_status == 'U' and phenotype != 1):
            raise WrongPhenotype(ind_object.individual_id, phenotype, 
                                 affection_status)
        
        return True