Is this my mucus plug??

I’m 38 weeks and just used the restroom and had this hanging from me. Is it my mucus plug? Also if it is, should I contact my OB??