def METHOD_NAME(self, logger: Logger, config: Mapping[str, Any]) -> AirbyteConnectionStatus:
    """Tests if the input configuration can be used to successfully connect to the destination with the needed permissions.
    This will test whether the combination of the Cumul.io API host, API key and API token is valid.
    :param logger: Logging object to display debug/info/error to the logs
        (logs will not be accessible via airbyte UI if they are not passed to this logger)
    :param config: Json object containing the configuration of this destination, content of this json is as specified in
    the properties of the spec.json file
    :return: AirbyteConnectionStatus indicating a Success or Failure
    """
    try:
        client = CumulioClient(config, logger)
        # Verify access by hitting Cumul.io authentication endpoint
        client.test_api_token()
        # We're no longer using testing a data push as this might take some time.
        # If the API host, key, and token are valid, we can assume Data can be pushed using it.
        return AirbyteConnectionStatus(status=Status.SUCCEEDED)
    except Exception as e:
        # The Cumul.io Python SDK currently returns a generic error message when an issue occurs during the request,
        # or when the request return e.g. a 401 Unauthorized HTTP response code.
        # We'll assume that either the API host is incorrect, or the API key and token are no longer valid.
        if not e == "Something went wrong":
            return AirbyteConnectionStatus(status=Status.FAILED, message=f"An exception occurred: {repr(e)}")
        return AirbyteConnectionStatus(
            status=Status.FAILED,
            message="An exception occurred: could it be that the API host is incorrect, or the API key and token are no longer valid?",
        )