@SuppressWarnings("BooleanMethodIsAlwaysInverted")
  protected final boolean hasStyle() {
    return this.styleBuilder != null || this.style != null;
  }
An abstract implementation of a component builder.

@param <C> the component type
@param <B> the builder type
api/src/main/java/net/kyori/adventure/text/AbstractComponentBuilder.java