Am I having contractions?

I’ve been up the last three hours with mild/moderate period like cramps. They last for about 45 seconds and are anywhere from 4-9minutes apart. It’s not intolerable pain but definitely uncomfortable where I don’t want to talk through them. Are these contractions?