code: def _has_command(command: Text) -> bool:
      """Determines whether a command is available in the user's shell.
  
      Args:
        command: The name of the command.
  
      Returns:
        Whether the command exists.
      """
      return distutils.spawn.find_executable(command) is not None
  
file_path: launchpad/launchpad/launch/run_locally/feature_testing.py
imports: import distutils
  import distutils.spawn
  import os
  from typing import Text
label_desc: Use image node_id 1 for calling a global function with example usage: _has_command(command) and returns: unknown