Check if classes are open