public boolean isRedirection() {
    return statusCode >= 300 && statusCode < 400;
  }
@return {@code true} if status code is 3xx which means redirection. {@code false} otherwise.
ambry-api/src/main/java/com/github/ambry/rest/ResponseStatus.java