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;
    }
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;
    }
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 ; }
Has the course started?

@return bool
Has the course started?