結果 : check if element is a string python