TimberModel.has_element

TimberModel.has_element(element)[source]

Returns True if the model contains the given element.

Parameters:
elementElement

The element to check.

Returns:
bool