Yep. Homosexuals, heterosexuals, cis people, people missing a finger, people who are terrified of spiders and people who have to wear wide shoes also contribute to society.
I very much doubt Hannah Cairo could disprove at age 17 a theorem you would never understand if you studied it for a lifetime if she was constantly struggling every day wondering every day if she was a boy or a girl.