def get_grade_record(self, grade_record_type=None):
if not self.has_record_type():<EOL><INDENT>raise IllegalState()<EOL><DEDENT>else:  <EOL><INDENT>raise Unimplemented()<EOL><DEDENT>
Gets the grade record corresponding to the given Grade record
        Type.

        This method is used to retrieve an object implementing the
        requested record. The gradeRecordType may be the Type returned
        in get_record_types() or any of its parents in a Type hierarchy
        where hasRecordType(gradeRecordType) is true .

        arg:    gradeRecordType (osid.type.Type): the type of the record
                to retrieve
        return: (osid.grading.records.GradeRecord) - the grade record
        raise:  NullArgument - gradeRecordType is null
        raise:  OperationFailed - unable to complete request
        raise:  Unsupported - hasRecordType(gradeRecordType) is false
        compliance: mandatory - This method must be implemented.