class check