original_string: public function isEventStarted($name)
      {
          return isset($this->events[$name]) && $this->events[$name]->isStarted();
      }
code: public function isEventStarted($name)
      {
          return isset($this->events[$name]) && $this->events[$name]->isStarted();
      }
code_tokens: public function isEventStarted ( $ name ) { return isset ( $ this -> events [ $ name ] ) && $ this -> events [ $ name ] -> isStarted ( ) ; }
docstring: Checks if the event was started.
  
  @param string $name The event name
  
  @return bool
docstring_tokens: Checks if the event was started .