code: def check_cmms_gender(self, ind_object):
          
          ind_id = ind_object.individual_id.split('-')
          sex = ind_object.sex
          sex_code = int(ind_id[-1][:-1])# Males allways have odd numbers and womans even
          if (sex_code % 2 == 0 and sex != 2) or (sex_code % 2 != 0 and sex != 1):
              raise WrongGender(ind_object.individual_id, sex, sex_code)
          
          return True
docs: Check if the phenotype is correct.
          
          Args:
              ind_object  : An Individuals object
          
          Yields:
              bool : True if phenotype status is correct
                      False otherwise