結果 : check for empty list python