Checks to see if anything added to map, if not, skips remaining functions.