All labels need to be attached to a net that has at least 2 pins in order for this to be a valid net. To check for the existing pins, we need to interate over all subgraphs in the net, counting pins