code: def supports_attestation() -> bool:
      try:
          client = find_binary()
          if client is None:
              return False
          outputs: str = (
              subprocess.check_output([client, "buildx", "version"])
              .decode("utf-8")
              .strip()
              .split()[1]
          )
          return parse(outputs.split("-")[0]) > parse("0.10.0")
      except subprocess.CalledProcessError:
          return False
  
file_path: BentoML/src/bentoml/_internal/container/buildx.py
imports: from __future__ import annotations
  import logging
  import subprocess
  import typing
  from typing import TYPE_CHECKING
  from packaging.version import parse
  from .base import Arguments
  from .docker import ENV
  from .docker import find_binary
  from .docker import health
label_desc: Use image node_id 2 for calling a global function with example usage: supports_attestation() and returns: unknown, False, False