I would rather you exposed Play.isDev in the metadata and fired off of that.