public function isPluginActivated($name)
    {
        return in_array($name, $this->pluginsToLoad)
        || ($this->doLoadAlwaysActivatedPlugins && $this->isPluginAlwaysActivated($name));
    }
public function isPluginActivated($name)
    {
        return in_array($name, $this->pluginsToLoad)
        || ($this->doLoadAlwaysActivatedPlugins && $this->isPluginAlwaysActivated($name));
    }
public function isPluginActivated ( $ name ) { return in_array ( $ name , $ this -> pluginsToLoad ) || ( $ this -> doLoadAlwaysActivatedPlugins && $ this -> isPluginAlwaysActivated ( $ name ) ) ; }
Returns `true` if a plugin has been activated.

@param string $name Name of plugin, eg, `'Actions'`.
@return bool
@api
Returns true if a plugin has been activated .