includes/class-freemius.php
private function is_network_activation_mode( $and_on = true ) {
            if ( ! $this->_is_network_active ) {
                // Not network activated.
                return false;
            }

            if ( $this->is_network_upgrade_mode() ) {
                // Special flag to enforce network activation mode to decide what to do with the sites that are not yet opted-in nor skipped.
                return true;
            }

            if ( ! $this->is_site_activation_mode( $and_on ) ) {
                // Whether the context is single site or the network, if the plugin is no longer in activation mode then it is not in network activation mode as well.
                return false;
            }

            if ( $this->is_network_delegated_connection() ) {
                // Super-admin delegated the connection to the site admins -> not activation mode.
                return false;
            }

            if ( $this->is_network_anonymous() && true !== $this->_storage->require_license_activation ) {
                // Super-admin skipped the connection network wide -> not activation mode.
                return false;
            }

            if ( $this->is_network_registered() ) {
                // Super-admin connected at least one site -> not activation mode.
                return false;
            }

            return true;
        }
private function is_network_activation_mode( $and_on = true ) {
            if ( ! $this->_is_network_active ) {
                // Not network activated.
                return false;
            }

            if ( $this->is_network_upgrade_mode() ) {
                // Special flag to enforce network activation mode to decide what to do with the sites that are not yet opted-in nor skipped.
                return true;
            }

            if ( ! $this->is_site_activation_mode( $and_on ) ) {
                // Whether the context is single site or the network, if the plugin is no longer in activation mode then it is not in network activation mode as well.
                return false;
            }

            if ( $this->is_network_delegated_connection() ) {
                // Super-admin delegated the connection to the site admins -> not activation mode.
                return false;
            }

            if ( $this->is_network_anonymous() && true !== $this->_storage->require_license_activation ) {
                // Super-admin skipped the connection network wide -> not activation mode.
                return false;
            }

            if ( $this->is_network_registered() ) {
                // Super-admin connected at least one site -> not activation mode.
                return false;
            }

            return true;
        }
private function is_network_activation_mode ( $ and_on = true ) { if ( ! $ this -> _is_network_active ) { // Not network activated.
 return false ; } if ( $ this -> is_network_upgrade_mode ( ) ) { // Special flag to enforce network activation mode to decide what to do with the sites that are not yet opted-in nor skipped.
 return true ; } if ( ! $ this -> is_site_activation_mode ( $ and_on ) ) { // Whether the context is single site or the network, if the plugin is no longer in activation mode then it is not in network activation mode as well.
 return false ; } if ( $ this -> is_network_delegated_connection ( ) ) { // Super-admin delegated the connection to the site admins -> not activation mode.
 return false ; } if ( $ this -> is_network_anonymous ( ) && true !== $ this -> _storage -> require_license_activation ) { // Super-admin skipped the connection network wide -> not activation mode.
 return false ; } if ( $ this -> is_network_registered ( ) ) { // Super-admin connected at least one site -> not activation mode.
 return false ; } return true ; }
Checks if the SDK in network activation mode.

@author Leo Fajardo (@leorw)
@since  2.0.0

@param bool $and_on

@return bool
Checks if the SDK in network activation mode .