結果 : python check if array index exists