def METHOD_NAME(self, logger, config) -> Tuple[bool, Any]:
    """
    Verify the configuration supplied can be used to connect to the API.
    :param config:  config object as per definition in spec.yaml
    :param logger:  logger object
    :return: (True, None) on connecton to the API successfully,
             (False, error) otherwise.
    """
    requests.get(
        url=self.check_endpoint,
        headers={"Authorization": f'Bearer {config["api_token"]:s}'},
    ).raise_for_status()
    return True, None  # Are we coding in go?