code: def wait(self, timeout=None):
          
          timeout = ["--interval=%s" % timeout] if timeout else []
          cmdline = ["podman", "wait"] + timeout + [self._id or self.get_id()]
          return run_cmd(cmdline, return_output=True)
docs: Block until the container stops, then return its exit code. Similar to
          the ``podman wait`` command.
  
          :param timeout: int, microseconds to wait before polling for completion
          :return: int, exit code