def METHOD_NAME(self) -> ConnectorStatus:
    try:
        self.fetch_token()
        return ConnectorStatus(status=True, message=f'connected as {self.username}')
    except AnaplanAuthError as exc:
        return ConnectorStatus(status=False, error=f'could not retrieve token: {exc}')