結果 : check that list is not empty python