Is there a way in Python to determine if an object has some attribute? For example:
>>> a = SomeClass() >>> a.someProperty = value >>
This is super simple, just use dir(object) This will return a list of every available function and attribute of the object.
dir(
)