Add __nonzero__ method to BaseEnvironment
Merge pull request #209 from aromanovich/master

Make BaseEnvironment always evaluate to True in a boolean context