結果 : check if list not empty python