Check for win state