Fix for ST3

Sublime Text 3 uses Python 3, which changes the lambda syntax. It also requires is_enabled to have a return type of boolean.