has_class function

Check for the specific class