Add is_plugin_active_for_network function check