There are no simple answers to such questions. "Closed" questions to be answered just by a "yes" or a "no" seem uncommon within a scientic forum, to me.
My recommendation is: read Article A General Theory of Sexual Differentiation
In our country i.e. India sex determination and any discussion on this is only academic. For genuine reasons like detection of sex linked disorders , obviously ultrasound examination is the best bet for it
NICC® Non Invasive Chromosomal Check is a simple, safe and accurate non-invasive prenatal test (NIPT) to screen for common chromosomal abnormalities, sex chromosomes Aneuploidies, microdeletion syndromes and gender as early as 10 weeks of pregnancy.
The risk of having a child with chromosomal abnormalities, such as Down Syndrome (Trisomy 21), Edwards Syndrome (Trisomy 18) and Patau Syndrome (Trisomy 13) increases with maternal age. Diagnostic tests for trisomy detection such as amniocentesis and chorionic villus sampling (CVS) are invasive and impose a risk of miscarriage to the pregnancy.
NICC® is a highly accurate screening test that provides a stronger risk indication than other traditional screening procedures with a sensitivity rate of >99.9% for Down Syndrome, Edwards Syndrome and Patau Syndrome. NICC® significantly reduces the number of women undergoing unnecessary invasive diagnostic procedures.
NICC® - During pregnancy, cell-free fetal DNA (cffDNA) is released from placenta into the mother’s blood vessel. Using only 10 ml of the mother’s blood, NICC® detects the baby’s DNA and measures the risk of chromosomal abnormalities using Next-Generation Sequencing (NGS) method.