isServerError method

bool isServerError()

Implementation

bool isServerError() {
  return statusCode >= 500 && statusCode < 600;
}