I'm not sure why you'd want to do that. It would be fairly simple to do a limited size map with a trigger that when surface.count_entities_filtered{type="unit-spawner"} == 0 game.state = finished. But for a limited size map I'm sure you could easily glance to see if the map was clear or not.