python if index exists in list