check if object `a` has property 'property',"if hasattr(a, 'property'):