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

        return: (osid.id.IdList) - list of course Ids
        raise:  IllegalState - is_course_based_activity() is false
        compliance: mandatory - This method must be implemented.