def METHOD_NAME(self) -> Generator[MenuItem[None], None, None]:
    servers = self.client.client.server_list
    if servers:
        for server in servers:
            label = self.shadow_text(server)
            yield MenuItem(label, None, None, None)
    else:
        label = self.shadow_text(T.translate("multiplayer_no_servers"))
        item = MenuItem(label, None, None, None)
        item.enabled = False
        yield item