async def connect_preferred_nodes(self) -> None:
    if ((self.preferred_nodes is None) or (len(self.preferred_nodes) == 0)):
        return
    (await asyncio.wait([self.dial_peer_maddr(node_maddr) for node_maddr in self.preferred_nodes]))
async def connect_preferred_nodes(self) -> None:
    if ((self.preferred_nodes is None) or (len(self.preferred_nodes) == 0)):
        return
    (await asyncio.wait([self.dial_peer_maddr(node_maddr) for node_maddr in self.preferred_nodes]))