def METHOD_NAME(self, logger, config) -> Tuple[bool, any]:
    """
    Checks the connection by sending a request to /usage and checks the remaining quota
    :param config:  the user-input config object conforming to the connector's spec.yaml
    :param logger:  logger object
    :return Tuple[bool, any]: (True, None) if the input config can be used to connect to the API successfully, (False, error) otherwise.
    """
    try:
        auth = TokenAuthenticator(token=config["app_id"], auth_method="Token").get_auth_header()
        resp = requests.get(f"{OpenExchangeRates.url_base}usage.json", headers=auth)
        status = resp.status_code
        logger.info(f"Ping response code: {status}")
        response_dict = resp.json()
        if status == 200:
            quota_remaining = response_dict["data"]["usage"]["requests_remaining"]
            if quota_remaining > 0:
                return True, None
            return False, "Quota exceeded"
        else:
            description = response_dict.get("description")
            return False, description
    except Exception as e:
        return False, e