original_string: public function has_summary() {
          if (isset($this->record->hassummary)) {
              return !empty($this->record->hassummary);
          }
          if (!isset($this->record->summary)) {
              // We need to retrieve summary.
              $this->__get('summary');
          }
          return !empty($this->record->summary);
      }
code: public function has_summary() {
          if (isset($this->record->hassummary)) {
              return !empty($this->record->hassummary);
          }
          if (!isset($this->record->summary)) {
              // We need to retrieve summary.
              $this->__get('summary');
          }
          return !empty($this->record->summary);
      }
code_tokens: public function has_summary ( ) { if ( isset ( $ this -> record -> hassummary ) ) { return ! empty ( $ this -> record -> hassummary ) ; } if ( ! isset ( $ this -> record -> summary ) ) { // We need to retrieve summary. $ this -> __get ( 'summary' ) ; } return ! empty ( $ this -> record -> summary ) ; }
docstring: Indicates if the course has non-empty summary field
  
  @return bool
docstring_tokens: Indicates if the course has non - empty summary field