I think ```if status >= 300``` is good.