public final boolean shouldAlwaysProduceDefinition() {
        return this.definitionType == DefinitionType.ALWAYS_REF;
    }
Getter for the flag indicating whether this custom definition should always be included in the {@link SchemaKeyword#TAG_DEFINITIONS} even if it
occurs only once.

@return whether an occurrence of this custom definition should always be replaced by a reference

@since 4.27.0
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/CustomDefinition.java