Random user becomes host if the real host is forced to leave (ex: network disconnection/crash)

If there are multiple co-hosts and the host leaves the meeting (internet disconnects, power outage, etc.) which co-host becomes the host? Can this be configurable?