def get_leaf_set(subtree):
    """Return set of leaf labels

    Parameters
    ----------
    subtree : dendropy tree or node object

    Returns
    -------
    set of str

    """
    return set([l.taxon.label for l in subtree.leaf_nodes()])