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

        return topic.equals(((Topic) o).topic);
    }
Determines if this topic conflicts with another topic.

@param other Topic to check against.
@return Returns true if there is a conflict.
smithy-mqtt-traits/src/main/java/software/amazon/smithy/mqtt/traits/Topic.java