# `GSLayer metricsKeysOutOfSync`

*Instance Method*

Whether any horizontal metrics key is out of sync.

## Declaration

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

```objc
- (BOOL) metricsKeysOutOfSync;
```

```python
metricsKeysOutOfSync() -> bool
```

## See Also

### Metrics Keys Utilities

- [`GSLayer plainMetricsKeyUI:`](/Core/GlyphsCore/GSLayer/plainMetricsKeyUI:) — Plain metrics key for display and editing.
- [`GSLayer attributedMetricsKey:fontSize:state:`](/Core/GlyphsCore/GSLayer/attributedMetricsKey:fontSize:state:) — Attributed display string for a metrics key.
- [`GSLayer alignedMetricsValueForKey:`](/Core/GlyphsCore/GSLayer/alignedMetricsValueForKey:) — Numeric offset encoded in an aligned metrics key.
- [`GSLayer metricsKeysInvalid`](/Core/GlyphsCore/GSLayer/metricsKeysInvalid) — Whether any horizontal metrics key is invalid.
- [`GSLayer metricsLabelForSide:`](/Core/GlyphsCore/GSLayer/metricsLabelForSide:) — Localized label for a metric side.
- [`GSLayer colorForMetricsState:`](/Core/GlyphsCore/GSLayer/colorForMetricsState:) — Display color for metrics key state flags.

