Adding checking function for whether the round is over.