public boolean containsAttribute(AttributeKey<?> key) {
        requireNonNull(key, "key");
        if (attrs == null) {
            return false;
        }
        return Arrays.stream(attrs).anyMatch(e -> e.key.equals(key));
    }
Returns {@code true} if the specified {@link AttributeKey} is in the export list.
core/src/main/java/com/linecorp/armeria/common/logging/RequestContextExporter.java