Model.has_element_with_name

Model.has_element_with_name(name)

Returns True if the model contains an element with the given name.

Parameters:
namestr

The name to check.

Returns:
bool