結果 : check if text is empty python