Is it a mucos plug?

Cherubim Grace

I went to the bathroom and when I wipe my vagina using tissue I saw a greenish discharge and its sticky.is it normal? Is it a mucos plug??

Im 38weeks and 4days I have a bleeding and my doctor just said that my cervix are getting thin and gave me last week a medicine to dilate my cervix.