Example of simple feature toggling in python (in the example flask application)