class name check