pysdic.core.property_container.PropertyContainer.has#

PropertyContainer.has(key)[source]#

Check if a property exists.

Parameters:

key (str) – The name of the property.

Returns:

True if the property exists, False otherwise (including when key is not a string).

Return type:

bool