def parse_gender(gender_codeName_str):
    """
    parse user gender
    :param gender_codeName_str:
    :return:
    """
    dict_gender_mapping = {'0': 'male', '1': 'female', '2': 'unknown'}
    if isinstance(gender_codeName_str, str):
        return dict_gender_mapping[gender_codeName_str]
