結果 : check if list is none or empty python