@CanIgnoreReturnValue
    public Builder addBooleanClaim(String name, boolean value) {
      JwtNames.validate(name);
      payload.add(name, new JsonPrimitive(value));
      return this;
    }
Adds a custom claim of type {@code boolean} to the JWT.
java_src/src/main/java/com/google/crypto/tink/jwt/RawJwt.java