結果 : python array check if index exists