Added method for checking existence of model in cart