original_string: public function is_timed_discussion() : bool {
          global $CFG;
  
          return !empty($CFG->forum_enabletimedposts) &&
                ($this->get_time_start() || $this->get_time_end());
      }
code: public function is_timed_discussion() : bool {
          global $CFG;
  
          return !empty($CFG->forum_enabletimedposts) &&
                ($this->get_time_start() || $this->get_time_end());
      }
code_tokens: public function is_timed_discussion ( ) : bool { global $ CFG ; return ! empty ( $ CFG -> forum_enabletimedposts ) && ( $ this -> get_time_start ( ) || $ this -> get_time_end ( ) ) ; }
docstring: Check if the discussion is timed.
  
  @return bool
docstring_tokens: Check if the discussion is timed .