docs: public static Optional<Object> firstElement(final Object obj) {
          val object = CollectionUtils.toCollection(obj);
          if (object.isEmpty()) {
              return Optional.empty();
          }
          return Optional.of(object.iterator().next());
      }