結果 : python if index exists in array