Why do we have to deal with all of these versions of False?  Also, it might be easier like this:

```
if data.get('submission_flagged', False) in ["false", False, "False"]:
```