default boolean getBoolean(final @NotNull String key) {
    return this.getBoolean(key, false);
  }
Gets 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
@return the boolean value, or {@code false} if this compound does not contain a boolean tag
    with the specified key, or has a tag with a different type
@since 4.0.0
nbt/src/main/java/net/kyori/adventure/nbt/CompoundBinaryTag.java