includes/class-freemius.php
function is_on() {
            self::$_static_logger->entrance();

            if ( isset( $this->_is_on ) ) {
                return $this->_is_on;
            }

            // If already installed or pending then sure it's on :)
            if ( $this->is_registered() || $this->is_pending_activation() ) {
                $this->_is_on = true;

                return true;
            }

            return false;
        }
function is_on() {
            self::$_static_logger->entrance();

            if ( isset( $this->_is_on ) ) {
                return $this->_is_on;
            }

            // If already installed or pending then sure it's on :)
            if ( $this->is_registered() || $this->is_pending_activation() ) {
                $this->_is_on = true;

                return true;
            }

            return false;
        }
function is_on ( ) { self :: $ _static_logger -> entrance ( ) ; if ( isset ( $ this -> _is_on ) ) { return $ this -> _is_on ; } // If already installed or pending then sure it's on :)
 if ( $ this -> is_registered ( ) || $ this -> is_pending_activation ( ) ) { $ this -> _is_on = true ; return true ; } return false ; }
Check if Freemius should be turned on for the current plugin install.

Note:
$this->_is_on is updated in has_api_connectivity()

@author Vova Feldman (@svovaf)
@since  1.0.9

@return bool
Check if Freemius should be turned on for the current plugin install .