code: public static function elementsEqual(IteratorAggregate $iterable1, IteratorAggregate $iterable2) : bool
      {
          return Iterators::elementsEqual(
              Iterators::from($iterable1->getIterator()),
              Iterators::from($iterable2->getIterator())
          );
      }
docs: Checks whether the elements provided by the given iterables are equal correspondingly.
  It uses {@link Objects::equal()} for equality check.
  
  @param IteratorAggregate $iterable1
  @param IteratorAggregate $iterable2
  @return bool