結果 : how to check true and false in python