range: add a contains(iterator) method