結果 : python check if object is string or list