python defining the iterator protocol
By Thoughtful Toad at Mar 24 2020
python peek next item from iterator
By Margie Schoen at Mar 06 2020