mode = playout:GetWrap()
Use playout:IsWrapped() to query whether any paragraphs were actually wrapped.