Mucus plug??

Le

I had a sharp pain and went to the bathroom and this was in the toilet after. I️ keep getting this shooting pain to my vagina and makes me feel like I️ have to pee, is this part of my plug?