mucus plug?

I had my membranes swept at 38 w 2 days yesterday, was in the shower and felt this come out. Is this my mucus plug? Been having a lot of cramping. Was 4 cm when dr checked yesterday