code: def sprite_map_name(map):
      
      map = map.render()
      sprite_maps = _get_cache('sprite_maps')
      sprite_map = sprite_maps.get(map)
      if not sprite_map:
          log.error("No sprite map found: %s", map, extra={'stack': True})
      if sprite_map:
          return String.unquoted(sprite_map['*n*'])
      return String.unquoted('')
docs: Returns the name of a sprite map The name is derived from the folder than
      contains the sprites.