def METHOD_NAME(self, labels):
    topology_labels = {}
    for label in labels:
        if utils.is_topology_label(label):
            topology_labels[label] = labels[label]
    return topology_labels