Is 27 weeks a viable age?

I’m experiencing pains and all the normal mumma stuff but I do wonder if 27 weeks is actually a safe zone?

I have been told people with Hyperemesis can sometimes have babies earlier due to the complications?