def METHOD_NAME(args: argparse.Namespace) -> None:
  del args  # not used
  util.say("Checking if podman is available ...")
  podman = shutil.which("podman")
  if not podman:
    raise SubcommandError("podman not found")
  util.say("Checking if podman can run a rootless container ...")
  proc = subprocess.run(
      [
          "podman",
          "container",
          "run",
          "--rm",
          "alpine:latest",
          "sh",
          "-c",
          "echo -n foo",
      ],
      check=False,
      capture_output=True,
  )
  if proc.returncode != 0 or proc.stdout.decode("utf-8") != "foo":
    raise SubcommandError("""
    Error executing podman container.
    Hint: make sure subuids are set up for your user. E.g.:
    $ sudo usermod --add-subuids 500000-565535 --add-subgids 500000-565535 $USER
    """)
  util.say("Done. Everything looks OK.")