@tokyo_0 @cazabon In python, values are generally "truthy" except for:
- False
- None
- 0
- "" (empty string)
- [] (empty list)
- () (empty tuple)
- {} (empty dictionary)
- set() (empty set)
which are "falsy".
Here your test probably assumes the value is True or False, but it could be something else, like either a string containing a key, or None, or a custom object or None.