is it safe to fly past 31 weeks

i want to do a baby moon in a couple weeks to Hawaii but I am already 31 weeks is this safe ? To fly ?