結果 : check if index exist python