Added a helper function to verify that a team's roster conforms to league limits