is_element

reactions.is_element(obj)

Check if an object is of element type

Parameters

obj – Object to check

Returns

whether the object is an element or not

Return type

bool