<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_tileset(self, tileset):
 """ Add a tileset to the map :param tileset: TiledTileset """

        assert (isinstance(tileset, TiledTileset))
        self.tilesets.append(tileset)