結果 : check if input is list python