code: public static <E> Optional<E> maybeFirst(E[] array) {
          return new MaybeFirstElement<E>().apply(new ArrayIterator<>(array));
      }
docs: Yields the first element if present, nothing otherwise.
  
  @param <E> the array element type
  @param array the array that will be consumed
  @return just the first element or nothing