結果 : check if none or empty python