'Checks whether a HTTP status code is in the category denoted by the
hundreds digit.'

@staticmethod
def _http_status_in_category(status, category):

    assert (category < 10), 'HTTP    status    category    must    be    a    one-digit    int!'
    cat = (category * 100)
    return ((status >= cat) and (status < (cat + 100)))
