is_truthy(value) that returns True if value would be treated as truthy in an if value: check, and False otherwise. Do not hardcode a list of values — rely on Python's own truthiness rules via bool().is_truthy(0)
False
The integer 0 is falsy.
is_truthy([])
False
An empty list is falsy.
is_truthy("0")True
A non-empty string is truthy, even "0".
`bool(value)` already implements this.
Empty containers, 0, 0.0, None, and False are the falsy values.