Added some convenience functions for telling what type of response code
it is.
Another convenience method