Blood test telling gender

Grace
So I recently got some bloodwork done and I am 11 weeks almost 12 and due to the fact that I am at extreme high risk the doctor took a gender test also and it came back as a girl! Has anyone else had one of these and if so was it correct?