public boolean isEqual(Course other) {
		if(!courseTitle.equals(other.getCourseTitle())) {
			return false;
		} else if(!teacherName.equals(other.getTeacherName())) {
			return false;
		} else if(roomNumber!=other.getRoomNumber()) {
			return false;
		}
		for(Student s: students) {
			if(!other.isEnrolled(s)) {
				return false;
			}
		}
		for(Student s: other.getStudents()) {
			if(!this.isEnrolled(s)) {
				return false;
			}
		}
		return true;
	}