original_string: public function is_section_current($section) {
          if (is_object($section)) {
              $sectionnum = $section->section;
          } else {
              $sectionnum = $section;
          }
          return ($sectionnum && ($course = $this->get_course()) && $course->marker == $sectionnum);
      }
code: public function is_section_current($section) {
          if (is_object($section)) {
              $sectionnum = $section->section;
          } else {
              $sectionnum = $section;
          }
          return ($sectionnum && ($course = $this->get_course()) && $course->marker == $sectionnum);
      }
code_tokens: public function is_section_current ( $ section ) { if ( is_object ( $ section ) ) { $ sectionnum = $ section -> section ; } else { $ sectionnum = $ section ; } return ( $ sectionnum && ( $ course = $ this -> get_course ( ) ) && $ course -> marker == $ sectionnum ) ; }
docstring: Returns true if the specified section is current
  
  By default we analyze $course->marker
  
  @param int|stdClass|section_info $section
  @return bool
docstring_tokens: Returns true if the specified section is current