original_string: public function has_overrides() {
          global $DB;
  
          $override = $DB->record_exists('assign_overrides', array('assignid' => $this->get_instance()->id));
  
          if ($override) {
              return true;
          }
  
          return false;
      }
code: public function has_overrides() {
          global $DB;
  
          $override = $DB->record_exists('assign_overrides', array('assignid' => $this->get_instance()->id));
  
          if ($override) {
              return true;
          }
  
          return false;
      }
code_tokens: public function has_overrides ( ) { global $ DB ; $ override = $ DB -> record_exists ( 'assign_overrides' , array ( 'assignid' => $ this -> get_instance ( ) -> id ) ) ; if ( $ override ) { return true ; } return false ; }
docstring: Returns whether an assign has any overrides.
  
  @return true if any, false if not
docstring_tokens: Returns whether an assign has any overrides .