know if an object has an attribute,"if hasattr(a, 'property'):