public static boolean isGetObjectLockConfigurationRequest(RestRequest restRequest) {
    return restRequest.getRestMethod() == RestMethod.GET && restRequest.getArgs().containsKey(S3_REQUEST)
        && restRequest.getArgs().containsKey(OBJECT_LOCK_PARAM);
  }
@param restRequest the {@link RestRequest} that contains the request parameters.
@return {@code True} if it is a S3 request to get the Object Lock configuration for a bucket.
ambry-frontend/src/main/java/com/github/ambry/frontend/s3/S3BaseHandler.java