Soldato
Not if you have androgen insensitivity, or partial androgen insensitivity like Semenya:Testosterone is such a profound advantage that the other runners may as well not bother entering. You can inject Testosterone and gain more muscle sat on your sofa than someone training naturally at a gym every day. To make women compete against Semenya is like putting a 145lb boxer in the ring against a 200lb boxer, you just wouldn't do it.
Complete androgen insensitivity in xy chromosome people would see them essentially develop as a woman, including secondary sexual characteristics like breasts and hips. See athlete Maria José Martínez-Patiño as an example. These women wouldn't be fertile, nor I suppose have internal female organs, but don't gain any advantage from the extra testosterone they carry.
Semenya seems to have partial androgen insensitivity, so has developed, to some extent, some secondary female characteristics like breasts and hips, but has also developed some secondary male characteristics, like a deep voice and muscle mass. She gets some benefit from testosterone, but not as much as a man would.
She's neither male nor female in a biological sense.