public boolean isEmpty() {
        return finalizedVersions.isEmpty() &&
            metadataVersion.equals(MetadataVersion.MINIMUM_KRAFT_VERSION) &&
            zkMigrationState.equals(ZkMigrationState.NONE);
    }
Represents the feature levels in the metadata image.

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