結果 : replace string with boolean python