def METHOD_NAME(retries=2):
    """
    Ping workers, check received replies.
    :param int retries: how many times to retry on ConnectionError when pinging workers
    :return: list of status information for individual workers (empty if no replies)
    """
    replies = _ping_workers(retries=retries)
    # replies is a dict of {hostname: reply}, convert to a sorted list of [(hostname, reply)]
    reply_tuples = sorted(replies.items(), key=lambda kv: kv[0])
    workers = []
    for worker_name, reply in reply_tuples:
        # The reply format does not seem to be documented anywhere, but is
        # likely a dict with one key: "ok"/"error" and a corresponding message.
        worker = {"name": worker_name, "ok": "ok" in reply}
        if "ok" not in reply:
            worker["reason"] = reply.get("error", "unknown reason")
        workers.append(worker)
    return workers