http://web2py.com/books/default/chapter/29/3#Let%27s-count
On this link there is an example that tests the existence of a variable by just doing this: if not session.counter: I don't understand this. In python to test the existence of a variable I need to catch exceptions. How would this code work?

