def METHOD_NAME(self, logger, config) -> Tuple[bool, any]:
    try:
        self._auth(config).get_auth_header()
    except Exception as error:
        return False, f"Unable to connect to Linnworks API with the provided credentials: {error}"
    return True, None