結果 : python check if index is in array