@Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            } else if (!(o instanceof Level)) {
                return false;
            }
            Level level = (Level) o;
            return isLabel == level.isLabel && value.equals(level.value);
        }
Check if the level is a label.

@return Returns true if the level is a label.
smithy-mqtt-traits/src/main/java/software/amazon/smithy/mqtt/traits/Topic.java