I'm not sure if this check is right? this asks whether or not the object has attributes, not if the class itself does (which it always will).