As nifty as this it, it's probably simpler and clearer to just do something like:

```python
if str.lower() in ("false", "f", "0"):
    return False
else:
    return True
```