python if index exist in list