code: def get_workspaces(self):
          
          data = self.message(MessageType.GET_WORKSPACES, '')
          return json.loads(data, object_hook=WorkspaceReply)
docs: Get a list of workspaces. Returns JSON-like data, not a Con instance.
  
          You might want to try the :meth:`Con.workspaces` instead if the info
          contained here is too little.
  
          :rtype: List of :class:`WorkspaceReply`.