Mesh.is_empty

Mesh.is_empty()

Boolean whether the mesh is empty.

Returns

bool – True if no vertices. False otherwise.