public boolean isEmpty() {
        return mechanisms.isEmpty();
    }
Represents the SCRAM credentials in the metadata image.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/image/ScramImage.java