Anyone know if a hernia can be seen on an ultrasound?

I’m 15 weeks pp and I think I might have a hernia. Doctor ordered an Ultrasound because of the pain I’m having to check the abdomen and the pelvis. Just wondering if they would be able to detect a hernia?