checkif the property is the object in python code example Example: python3 check if object has attribute try: doStuff(a.property) except AttributeError: otherStuff()