My doctor did blood work to determine the sex at 12 weeks and I'm having a boy
My doctor tried to see at 16 but couldn't only because baby was moving around too much. They should be able to check at 16 weeks, and if they can see I don't know why they wouldn't tell you