Perhaps the question should have been do you have an SRY gene on a Y chromosome - or (nearly equivalent) "did you have at least one testis at birth". Which would probably be closest to the questioners intent.
If a person dresses, acts, and thinks of themselves as a male would, would it be useful to know what chromosomes that person has?
That being given, when someone asks about gender or sex, I'm assuming that they are in fact interested in my biological properties, not my self-identification (which is/should be obvious).
Not always as obvious as you might think! It's the exceptions that are important, here.
Shouldn't your biology actually be more obvious than your gender? I mean, being somewhat of a devil's advocate here.
"Transgender" is pretty straightforward.
Come on, this is HN, you don't think humans are they only ones here do you?