public boolean studentFulfillsDegreeRequirements(int studentId, int degreeId) {
		if(!isValidId(studentId) || !isValidId(degreeId)) {
			return false;
		}
		
		Student student = studentDao.getStudent(studentId);
		Degree degree = degreeDao.getDegree(degreeId);
		
		if (student != null && degree != null) {
			
			for (Course course : degree.getRequiredCourses()) {
				if (student.getCourses().contains(course) == false) {
					return false;
				}
			}
			return true;
		}
		
		return false;
	}