def METHOD_NAME(*tag_dicts):
    """Utility function for merging tag dicts for easy comparisons."""
    result = collections.defaultdict(set)
    for tag_dict in tag_dicts:
        for tag_name, tags_set in tag_dict.items():
            result[tag_name] = result[tag_name] | tags_set
    return dict(result)