know if an object has an attribute,"getattr(a, 'property', 'default value')"