default boolean hasDecoration(final @NotNull TextDecoration decoration) {
    return this.decoration(decoration) == TextDecoration.State.TRUE;
  }
Tests if this stylable has a decoration.

@param decoration the decoration
@return {@code true} if this stylable has the decoration, {@code false} if this
    stylable does not have the decoration
@since 4.10.0
api/src/main/java/net/kyori/adventure/text/format/StyleGetter.java