code: def call(self, command, *args):
          
  
          if not command:
              return
  
          # Look for local methods first
          try:
              res = self.registered[command]['function'](self, *args)
              return Response('local', res, None)
  
          # Method not found, try remote
          except KeyError:
  
              # Execute remote command
              res, err = self.client.call(command, *args)
              return Response('remote', res, err, self.client.is_multi())
  
          # Local exception
          except Exception as e:
              return Response('local', res, str(e))
docs: Execute local OR remote command and show response