Ultrasound gender prediction at 12 weeks

Ry

I had my 12 week ultrasound today and the baby was sitting just right that you could see the goods between his legs 😂 the dr told me it’s probably a boy but to keep it a secret because it’s so early! Has anyone had this happen? Was it correct or not?