original_string: public function was_started() {
  
          if ($this->started === null) {
              if ($this->get_start() === 0 || $this->now < $this->get_start()) {
                  // Not yet started.
                  $this->started = false;
              } else {
                  $this->started = true;
              }
          }
  
          return $this->started;
      }
code: public function was_started() {
  
          if ($this->started === null) {
              if ($this->get_start() === 0 || $this->now < $this->get_start()) {
                  // Not yet started.
                  $this->started = false;
              } else {
                  $this->started = true;
              }
          }
  
          return $this->started;
      }
code_tokens: public function was_started ( ) { if ( $ this -> started === null ) { if ( $ this -> get_start ( ) === 0 || $ this -> now < $ this -> get_start ( ) ) { // Not yet started. $ this -> started = false ; } else { $ this -> started = true ; } } return $ this -> started ; }
docstring: Has the course started?
  
  @return bool
docstring_tokens: Has the course started?