docs: public static <K, T extends V, V> KeyValue<K, V> from(K key, Optional<T> optional) {
  
          LettuceAssert.notNull(optional, "Optional must not be null");
  
          if (optional.isPresent()) {
              return new KeyValue<K, V>(key, optional.get());
          }
  
          return empty(key);
      }