def is_route(tag):
    """ Checks if an HTML tag is a bus route.
    :param tag A BeautifulSoup tag
    :return True if the tag has a "data-routes" attribute, False otherwise"""
    return tag.has_attr("data-routes")