public function isActive()
    {
        // wee need a namespace first
        if(!isset($this->namespace)) {
            return false;
        }

        // Plugin is not active is it's not installed
        if(!self::isInstalled($this->namespace)) {
            return false;
        }

        if(!$this->isActive) {
            return false;
        }
        return true;
    }
public function isActive()
    {
        // wee need a namespace first
        if(!isset($this->namespace)) {
            return false;
        }

        // Plugin is not active is it's not installed
        if(!self::isInstalled($this->namespace)) {
            return false;
        }

        if(!$this->isActive) {
            return false;
        }
        return true;
    }
public function isActive ( ) { // wee need a namespace first if ( ! isset ( $ this -> namespace ) ) { return false ; } // Plugin is not active is it's not installed if ( ! self :: isInstalled ( $ this -> namespace ) ) { return false ; } if ( ! $ this -> isActive ) { return false ; } return true ; }
Check if a plugin is active

@return bool
@throws \Exception
Check if a plugin is active