original_string: public function has_course_overviewfiles() {
          global $CFG;
          if (empty($CFG->courseoverviewfileslimit)) {
              return false;
          }
          $fs = get_file_storage();
          $context = context_course::instance($this->id);
          return !$fs->is_area_empty($context->id, 'course', 'overviewfiles');
      }
code: public function has_course_overviewfiles() {
          global $CFG;
          if (empty($CFG->courseoverviewfileslimit)) {
              return false;
          }
          $fs = get_file_storage();
          $context = context_course::instance($this->id);
          return !$fs->is_area_empty($context->id, 'course', 'overviewfiles');
      }
code_tokens: public function has_course_overviewfiles ( ) { global $ CFG ; if ( empty ( $ CFG -> courseoverviewfileslimit ) ) { return false ; } $ fs = get_file_storage ( ) ; $ context = context_course :: instance ( $ this -> id ) ; return ! $ fs -> is_area_empty ( $ context -> id , 'course' , 'overviewfiles' ) ; }
docstring: Checks if course has any associated overview files
  
  @return bool
docstring_tokens: Checks if course has any associated overview files