# `GSGlyph hasBracketLayer`

*Instance Method*

Whether any stored layer is an Alternative layer selected by axis rules.

## Declaration

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

```objc
- (BOOL) hasBracketLayer;
```

```python
hasBracketLayer() -> bool
```

## Discussion

Inactive Alternative layers satisfy this condition, too.

## See Also

### Layer Kinds

- [`GSGlyph hasSpecialLayers`](/Core/GlyphsCore/GSGlyph/hasSpecialLayers) — Whether any stored layer has special layer attributes.
- [`GSGlyph hasBraceLayer`](/Core/GlyphsCore/GSGlyph/hasBraceLayer) — Whether any stored layer is an Intermediate layer at explicit design-space coordinates.

