is_valid#

LayerCollection.is_valid()#

Determine if the layer collection is in a valid state.

For a laminate stackup, this method checks whether there is layer overlapping or a gap. For an overlapping stackup, this method checks whether there is a dielectric layer overlapping or a gap.

Returns:
bool

True if the layer collection is in a valid state, False otherwise.