def has_dim_tag(fake_services, dim_name, dim_value, tag_value):
    """
    Tests if the given dimension has a certain tag
    """
    dim = fake_services.dims[dim_name][dim_value]
    tags = dim.get("tags", [])
    if tags is not None:
        return tag_value in tags
    return False