Check whether the plugin is active for the entire network.

Signature

is_plugin_active_for_network( $plugin )
plugin
 (string) Base plugin path from plugins directory.

Return

(boolean) True, if active for the network, otherwise false.

Source

function is_plugin_active_for_network( $plugin ) {
	if ( !is_multisite() )
		return false;

	$plugins = get_site_option( 'active_sitewide_plugins');
	if ( isset($plugins[$plugin]) )
		return true;

	return false;
}
WP Trac GitHub

Link here