check for current state of the plugin before disabling/enabling