def METHOD_NAME(sentence: str):
    has_masculine_pronouns = bool(re.search(r"\b(he|him|his)\b", sentence.lower()))
    has_feminine_pronouns = bool(re.search(r"\b(she|her)\b", sentence.lower()))
    if has_masculine_pronouns and has_feminine_pronouns:
        return pd.NA
    if has_masculine_pronouns:
        return "male"
    if has_feminine_pronouns:
        return "female"
    return pd.NA