code: def list_domains(self):
          
          self.connect()
          results = self.server.list_domains(self.session_id)
          return {i['domain']: i['subdomains'] for i in results}
docs: Return all domains. Domain is a key, so group by them