original_string: protected function shouldProcessReportsForPlugin($pluginName)
      {
          if ($this->params->getRequestedPlugin() == $pluginName) {
              return true;
          }
  
          if ($this->params->shouldOnlyArchiveRequestedPlugin()) {
              return false;
          }
  
          if (Rules::shouldProcessReportsAllPlugins(
              $this->params->getIdSites(),
              $this->params->getSegment(),
              $this->params->getPeriod()->getLabel())) {
              return true;
          }
  
          if (!\Piwik\Plugin\Manager::getInstance()->isPluginLoaded($this->params->getRequestedPlugin())) {
              return true;
          }
          return false;
      }
code: protected function shouldProcessReportsForPlugin($pluginName)
      {
          if ($this->params->getRequestedPlugin() == $pluginName) {
              return true;
          }
  
          if ($this->params->shouldOnlyArchiveRequestedPlugin()) {
              return false;
          }
  
          if (Rules::shouldProcessReportsAllPlugins(
              $this->params->getIdSites(),
              $this->params->getSegment(),
              $this->params->getPeriod()->getLabel())) {
              return true;
          }
  
          if (!\Piwik\Plugin\Manager::getInstance()->isPluginLoaded($this->params->getRequestedPlugin())) {
              return true;
          }
          return false;
      }
code_tokens: protected function shouldProcessReportsForPlugin ( $ pluginName ) { if ( $ this -> params -> getRequestedPlugin ( ) == $ pluginName ) { return true ; } if ( $ this -> params -> shouldOnlyArchiveRequestedPlugin ( ) ) { return false ; } if ( Rules :: shouldProcessReportsAllPlugins ( $ this -> params -> getIdSites ( ) , $ this -> params -> getSegment ( ) , $ this -> params -> getPeriod ( ) -> getLabel ( ) ) ) { return true ; } if ( ! \ Piwik \ Plugin \ Manager :: getInstance ( ) -> isPluginLoaded ( $ this -> params -> getRequestedPlugin ( ) ) ) { return true ; } return false ; }
docstring: Whether the specified plugin's reports should be archived
  @param string $pluginName
  @return bool
docstring_tokens: Whether the specified plugin s reports should be archived