code: def has_build() -> bool:
      # it's very likely that there is a local directory named build/ (especially
      # in an editable install), so an import check is not sufficient; instead
      # check that there is a package version
      try:
          importlib_metadata.version("build")
          return True
      except importlib_metadata.PackageNotFoundError:  # type: ignore[attr-defined]
          return False
  
imports: import os
  import re
  import shutil
  import subprocess
  import sys
  from collections import defaultdict
  from pathlib import Path
  from typing import Any, Dict, List, Optional, Tuple, Union, cast
  import srsly
  from catalogue import RegistryError
  from thinc.api import Config
  from wasabi import MarkdownRenderer, Printer, get_raw_input
  from ..None import about, util
  from ..compat import importlib_metadata
  from ..schemas import ModelMetaSchema, validate
  from ._util import SDIST_SUFFIX, WHEEL_SUFFIX, Arg, Opt, app, string_to_list
label_desc: Use image node_id 4 for calling a global function with example usage: has_build() and returns: True, False