default @NotNull R putBoolean(final @NotNull String key, final boolean value) {
    return this.put(key, value ? ByteBinaryTag.ONE : ByteBinaryTag.ZERO);
  }
Inserts a boolean.

<p>Booleans are stored as a {@link ByteBinaryTag} with a value of {@code 0} for {@code false} and {@code 1} for {@code true}.</p>

@param key the key
@param value the value
@return a compound tag
@since 4.0.0
nbt/src/main/java/net/kyori/adventure/nbt/CompoundTagSetter.java