extra util for Iterable version of FilteredIterator