結果 : check if object is a string python