結果 : python check if generator object is empty