Make sure boolean evaluation works in both Python 2 and Python 3.