def ClientIdToHostname(client_id, token=None):
  client = OpenClient(client_id, token=token)[0]
  if client and client.Get("Host"):
    return client.Get("Host").Summary()
Quick helper for scripts to get a hostname from a client ID.
dataset/ETHPy150Open google/grr/grr/lib/console_utils.py/ClientIdToHostname