Wait until particle is done playing

I have a void team1ScoreCheck () and in that void is

if (team1GamesWon == totalMatchWon) {
    				if (!win.activeInHierarchy) {
    					print ("wait");
    			} else {
    				print ("doesn't work ");

some important background info: win is the game object that holds the particle effect and it becomes active if team1 or team2 is equal to totalMatchWon. I’m trying to get it to print wait after the particle is done playing but its printing it right before. How do i set up a delay, keep in mind that this is a void.

if i were you i would look at the particle system and see how long it lasts for and use a IEnumerator to wait for the time of the particle system to finish