python version of class enrollment status