Implemented verification of current class and student enrolment in it.