結果 : python iterator check if hasnext