Herpes during pregnancy

Do they check for herpes during pregnancy ? I know that you can have it and not be aware of it I'm curious to if they check just in case