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