Check ‘class’ in attrs field