結果 : condition if list is not empty python