Make more pythonic

In python `""`, `None`, and `False` are all "falsy", and evaluate as `False` when testing against them.