TMI 😣 Is this my mucus plug?

is this my mucus plug? I'm 39+3 and have been getting the odd pain but not regular at all. if this is mucus plug does this mean labor is due to happen?