# `GSGlyph hasColorsInComponents`

*Instance Method*

Whether the first shape of the first font master layer is a component whose glyph uses a color-layer format.

## Declaration

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

```objc
- (BOOL) hasColorsInComponents;
```

```python
hasColorsInComponents() -> bool
```

## See Also

### Components

- [`GSGlyph hasComponents`](/Core/GlyphsCore/GSGlyph/hasComponents) — Whether any stored layer directly contains a component.
- [`GSGlyph decomposeSpecialComponents:`](/Core/GlyphsCore/GSGlyph/decomposeSpecialComponents:) — Decomposes components requiring layer-specific interpolation across each layer group.

