Function TileMapExists(tilemap)
Returns true if the given tilemap is an active tilemap in the program
Related:
TileSetExists