Added isWin tests and function, Delete comment in GetCart function