CheckForGameEnd() renamed

Renamed to IsValidCommand()