Masturbation while 33 weeks

Is it safe to masturbate while pregnant? Vibrators? Anything?