public function has_overrides() {
        global $DB;

        $override = $DB->record_exists('assign_overrides', array('assignid' => $this->get_instance()->id));

        if ($override) {
            return true;
        }

        return false;
    }
public function has_overrides() {
        global $DB;

        $override = $DB->record_exists('assign_overrides', array('assignid' => $this->get_instance()->id));

        if ($override) {
            return true;
        }

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

@return true if any, false if not
Returns whether an assign has any overrides .