disable lesson and test if class disable