How does doctor know baby is head down lol

So

Hi this feels really dumb to ask because I am almost 38 weeks pregnant with my second child, but if the doctor checks me, but I’m not dilated at all, how can she just tell me without a doubt baby is head down? No ultrasound, and I don’t think she even felt my bump (I had already had a NST at that point).