結果 : check if a list is not empty python