結果 : check if true or false python