Diagram.is_empty

Diagram.is_empty()

Verify that the mesh is empty.

Returns

bool – True if the mesh has no vertices. False otherwise.