Model.has_element

Model.has_element(element)

Returns True if the model contains the given element.

Parameters:
elementElement

The element to check.

Returns:
bool