結果 : check if variable is list or string python