結果 : python test if array index exists