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