WordPress at a glance
function is not described

can_edit_network() WP 3.1.0

Whether or not we can edit this network from this page.

By default editing of network is restricted to the Network Admin for that $network_id. This function allows for this to be overridden.

Hooks in function
Return

true/false. True if network can be edited, otherwise false.

Usage

can_edit_network( $network_id );
$network_id(int) (required)
The network ID to check.

Code of can edit network: wp-admin/includes/ms.php VER 5.1.1

<?php
function can_edit_network( $network_id ) {
	if ( $network_id == get_current_network_id() ) {
		$result = true;
	} else {
		$result = false;
	}

	/**
	 * Filters whether this network can be edited from this page.
	 *
	 * @since 3.1.0
	 *
	 * @param bool $result     Whether the network can be edited from this page.
	 * @param int  $network_id The network ID to check.
	 */
	return apply_filters( 'can_edit_network', $result, $network_id );
}