docs: public static <T> List<T> getListIfIsPresent(Optional<T>... optionals) {
          return Arrays.stream(optionals).filter(Optional::isPresent)
                  .map(Optional::get).collect(Collectors.toList());
      }