Contractions!

Is it normal to have contractions irregularly on and off for a while before you go into labor? They happen for a good few hours at 30 minute intervals for 15 minutes each time but continue to stop after the few hours.