Checks that *_getattr() argument is actually str