!!!!!!TMI!!!!! Mucus plug?

I went to the hospital two nights ago because I felt less movement and they said she was ok. But I am having small contractions which don’t hurt too bad but every now and then they stop me in my tracks. Only about every hour or so I’ll get one and sometimes every 30 min. I’m only 34 weeks along btw. I woke up this afternoon and when I wiped I had this come out of me. Haven’t had any discharge like this during my whole pregnancy. Just threw me off. It’s bigger than it looks in the picture. Could this be my mucus plug?