Currently, many of the SDKs treat errors from the underlying checks (after retrying) as a falsy value. So if after 3 retries, check returned 500, ListRelations would treat it as allowed=false.
This is incorrect behaviour and ListRelations should surface any errors to the user.
For reference, the JS SDK was fixed in openfga/js-sdk#32
Relevant files to be changed: https://github.com/openfga/python-sdk/blob/main/openfga_sdk/client/client.py#L973
On first error encountered, return that.