could this be my mucus plug?

I am 37 weeks pregnant and I am 80% thinned and 1cm as of yesterday and today I started spotting and passing brown/reddish discharge.