Is this my mucus plug?

So sorry for the photo but I’m 35 weeks and been having cramping now this has just come away. I did move it after I took the photo and it was very thick. If it is what do I do now?