code: def _check_twine_installed():
      try:
          import twine as _unused
      except ImportError:
          cli.error(
              "Twine is required to upload packages. Install it by running "
              "'pip install twine'."
          )
  
file_path: guildai/guild/commands/package_impl.py
imports: import re
  import os
  from guild import cli
  from guild import cmd_impl_support
  from guild import config
  from guild import guildfile
  from guild import package
label_desc: Use image node_id 3 for calling a global function with example usage: _check_twine_installed() without return types