There is actually a paucity of examples of how to do League based functions (for those who learn by example). For example, I need to figure out which stage the world congress is at (initial, city state votes, more city state votes, UN).
There is a IsUnitedNations boolean, but I have't figured out a way to loop through the league states to determine which state the league is in... there is a league ID but no obvious (to me) way to cross check that with current state as in "if league == leagueID than...".