I want to start a local cluster from python with a specific number of workers, and then connect a client to it.
cluster = LocalCluster(n_workers=8, ip='127.0.0.1')
client = Client(cluster)
But before, I want to check if there is an existing local cluster, started for example by the dask-scheduler command. Is there a way to do this ?