Is this my mucus plug?

I just went to the toilet and when I wiped it didn’t look like just wee, I looked in the toilet and saw something brown and stringy so I scooped it out this is what it was,

Someone please tell me if this is my mucus plug? And if it is can someone tell me

How long I should wait until I should be worried if labour hasn’t started ?