public final boolean hasDefaultValue() {
        return this.optional() && this.defaultValue() != null;
    }
Returns whether this component has a default value.

@return {@code true} if the component has a default value, else {@code false}
cloud-core/src/main/java/org/incendo/cloud/component/CommandComponent.java