def get_courses(self):
if not self.is_course_based_activity():<EOL><INDENT>raise IllegalState()<EOL><DEDENT>else:<EOL><INDENT>raise Unimplemented()<EOL><DEDENT>
Gets any courses associated with this activity.

        return: (osid.course.CourseList) - list of courses
        raise:  IllegalState - is_course_based_activity() is false
        raise:  OperationFailed - unable to complete request
        compliance: mandatory - This method must be implemented.