結果 : python check if index exists in array