def METHOD_NAME(store, dataset, snapshot):
    tags = git_tag(pygit2.Repository(store.get_dataset_path(dataset)))
    # Search for any existing tags
    tagged = [tag for tag in tags if tag.name == snapshot]
    if tagged:
        raise SnapshotExistsException(
            'Tag "{}" already exists, name conflict'.format(snapshot))