The immunocompetence handicap hypothesis posits that testosterone works like the peacock's tail.
From the scienceblogs.com
Immunocompetence was lost by DCs in advanced tumours, and these DCs could also suppress the T cell expansion that was induced by immunocompetent DCs from early stage tumours.