Added assertion on whether __attrs__ exists to fix compatibility with monkey patched requests in requests_cache