BaseMesh.is_empty

BaseMesh.is_empty()

Boolean whether the mesh is empty.

Returns

bool – True if no vertices. False otherwise.