Are these contractions?

I’ll be 40 weeks tomorrow

I woke up with bad period like cramps, not sure if they were contractions or not because I’m a FTM I decided to time them once it happened like 3 times. Currently they’re lasting about a minute to a minute 30 every 10 ish minutes. I also felt like I needed to diarrhea, but now that I’m on the toilet, I actually feel constipated.

Is this possibly contractions or just cramping?