def is_stop(tag):
    """ Checks if an HTML tag is a stop
    :param tag A BeautifulSoup tag
    :return True if the tag is a link to a "displayBusStopDetails" page, False otherwise"""
    return tag.has_attr("href") and tag["href"].startswith("/displayBusStopDetails?")