original_string: protected function hasImplementedPluginInterface($name)
      {
          $result = false;
  
          if (class_exists($name)) {
              $implements = class_implements($name);
  
              if (isset($implements['Yosymfony\\Spress\\Core\\Plugin\\PluginInterface'])) {
                  $result = true;
              }
          }
  
          return $result;
      }
code: protected function hasImplementedPluginInterface($name)
      {
          $result = false;
  
          if (class_exists($name)) {
              $implements = class_implements($name);
  
              if (isset($implements['Yosymfony\\Spress\\Core\\Plugin\\PluginInterface'])) {
                  $result = true;
              }
          }
  
          return $result;
      }
code_tokens: protected function hasImplementedPluginInterface ( $ name ) { $ result = false ; if ( class_exists ( $ name ) ) { $ implements = class_implements ( $ name ) ; if ( isset ( $ implements [ 'Yosymfony\\Spress\\Core\\Plugin\\PluginInterface' ] ) ) { $ result = true ; } } return $ result ; }
docstring: Checks if the class implements the PluginInterface.
  
  @param string $name Class's name
  
  @return bool
docstring_tokens: Checks if the class implements the PluginInterface .