結果 : check if a string is not empty python