![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | chanon |
Is there a way to quickly and easily check an object instance whether it has a property?
For example in Object API there is a has_method
method that can check if the object has a named method. Is there a has_property
method?
There is a get_property_list
method, but I just want to quickly check existance of a property, not necessarily prepare a whole Array of Dictionaries of properties.