```
In [1]: a = {}

In [2]: a is None
Out[2]: False

In [3]: if not a: print "not a"
not a

In [4]: 
```