def find_matching_tag(tag, tags_times):
    """
    Looks through all the tags and returns the tag and its corresponding class, otherwise it returns an empty list.
    """
    match = list(filter(lambda x: tag in x, tags_times))

    if(len(match) > 0):
        return match[0]
    else:
        return match