結果 : check that a list is not empty python