Blood work to determine gender

Does anyone know how accurate it is? I was told by blood work that gender is female so I'm excited but then I wonder if it's even accurate. I got blood work done at drs office to determine genetic problems and was also told it was female can any one let me know if  those lab works are accurate in gender predicting