結果 : check if it is a string in python