docs: public <A> Optional<A> transform(final ThrowableFunction<Payload, A, IOException> f) {
          if (hasPayload()) {
              return payload.flatMap(p -> lift(p, f));
          }
          return Optional.empty();
      }