is_element

reactions.is_element()

Check if an object is of element type

Parameters

obj – input object

Returns

whether the object is an element

Return type

bool