# `GSGlyph mastersCompatible`

*Instance Method*

Whether every layer group has matching structure for interpolation.

## Declaration

```swift
func mastersCompatible() -> Bool
```

```objc
- (BOOL) mastersCompatible;
```

[See also `mastersCompatible` in the Python API](https://docu.glyphsapp.com/#GSGlyph.mastersCompatible)

```python
pyobjc_instanceMethods.mastersCompatible() -> bool
```

## Discussion

Compatibility includes shapes, anchor names, and path-component hints. The participating groups follow the font’s compatibility and empty-layer settings.

## See Also

### Layer Compatibility

- [`GSGlyph mastersCompatibleForLayers:`](/Core/GlyphsCore/GSGlyph/mastersCompatibleForLayers:) — Whether the layers have matching shapes, anchor names, and path-component hints.
- [`GSGlyph mastersCompatibleForLayerIds:`](/Core/GlyphsCore/GSGlyph/mastersCompatibleForLayerIds:) — Whether the specified layers have matching shapes, anchor names, and path-component hints.
- [`GSGlyph mastersCompatibleForLayerIds:options:`](/Core/GlyphsCore/GSGlyph/mastersCompatibleForLayerIds:options:) — Whether selected aspects of the specified layers have matching structure.
- [`GSGlyph resetMasterCompatibilityCheckStatus`](/Core/GlyphsCore/GSGlyph/resetMasterCompatibilityCheckStatus) — Marks layer compatibility for reevaluation.
- [`GSGlyph removeIncompatibleLayerContent:options:`](/Core/GlyphsCore/GSGlyph/removeIncompatibleLayerContent:options:) — Clears the shapes of active layers whose selected aspects do not match the first layer.

