結果 : check if a string in python