def METHOD_NAME(self, response: Response) -> bool:
    try:
        resp_json = response.json()
        if not resp_json.get("ok"):
            if "account_inactive" == resp_json.get("error", ""):
                return True
        return False
    except json.JSONDecodeError:
        return False