HSG before IUI

Gigi
Hi ladies, where any if you required the nave the HSG dye test before moving forward with IUI? We already know my husband has low motility. I'm not sure why my doctor wants me to have this done.