private static boolean isReadRequest(RestRequest restRequest) {
    switch (restRequest.getRestMethod()) {
      case GET:
      case OPTIONS:
      case HEAD:
        return true;
      default:
        return false;
    }
  }
@return {@code true} if the request is a read request. {@code false} otherwise.
ambry-quota/src/main/java/com/github/ambry/quota/QuotaUtils.java