Peristalsis is the successive waves of involuntary contraction passing along the walls of a hollow muscular structure (esophagus or intestine) and forcing the contents onward.
So basically yes, it is an involuntary squeezing of the intestine.
Hope this helps!