def METHOD_NAME(self):
    """Check rate limits before processing a request
    Refresh quota counters when needed
    """
    self._limiter.refresh_quota_counters_if_needed()
    ipaddr = self._get_client_ipaddr()
    # token = request.headers.get("Token", None)
    # if token:
    # check token validity
    if not self._limiter.is_quota_available(ipaddr=ipaddr):
        flask.abort(429)
    self._request_start_time = time.monotonic()
    log = current_app.logger
    log.error("_check_limits_callback called")