Is this supposed to be safe from missing attributes?

If so, it should be `getattr(o, name, None)`.  `getattr(o, name)` will raise AttributeError on missing attributes.