pysdic.Connectivity.has_property#

Connectivity.has_property(key)[source]#

Check if the connectivity has a property with the given key/name.

Note

The property can also be checked using dictionary-like syntax:

1has_property = 'property_key' in connectivity
Parameters:

key (str) – The key/name of the property to check.

Returns:

True if the property exists, False otherwise.

Return type:

bool