def get_same_status(runs):
    """
    Get a list of instance names that have the same status in all given TestSets.

    Parameters
    ----------
    runs
        set of TestSets

    Returns
    -------
    list
        list of names of instances whose status is the same in all TestSets.
    """
    instances = runs[0].children.to_dict()
    final_instances = set([])
    for i in instances:
        statuses = []
        for r in runs:
            rd = r.children.to_dict()
            if i in rd and "Status" in rd[i]:
                statuses.append(rd[i]["Status"])

        if len(statuses) == len(runs) and len(set(statuses)) == 1:
            final_instances.add(i)

    return final_instances