code: def list(self, id=None):
          
          args = {'pid': id}
          self._process_chk.check(args)
          return self._client.json('process.list', args)
docs: List all running processes
  
          :param id: optional PID for the process to list