if i&amp in Models