Used to check when class section is open for registration.