@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (!(o instanceof SymbolReference)) {
            return false;
        }

        SymbolReference that = (SymbolReference) o;
        return super.equals(o)
                && symbol.equals(that.symbol)
                && getProperties().equals(that.getProperties())
                && options.equals(that.options)
                && alias.equals(that.alias);
    }
Checks if the given option is set on the symbol.

@param option Option to check.
@return Returns true if this option is set.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/SymbolReference.java