Prevent plugin from running in development mode?

This may be an option (would need to be modified):