original_docstring: Checks is a program is installed.
      NOTE: Works in most cases, but not in every case. Doesn't recognize jetbrains programs.
            It's also finicky, you need to know the exact name of the command or package.
  
      :param str program: The program name to check
      :return: Boolean indicating weather or not the program is installed
      :rtype: bool
      
docstring: Checks is a program is installed.
  NOTE: Works in most cases, but not in every case. Doesn't recognize jetbrains programs.
  It's also finicky, you need to know the exact name of the command or package.
docstring_tokens: Checks is a program is installed . NOTE : Works in most cases but not in every case . Doesn ' t recognize jetbrains programs . It ' s also finicky you need to know the exact name of the command or package .
code: def installed(program: str) -> bool:
      """Checks is a program is installed.
      NOTE: Works in most cases, but not in every case. Doesn't recognize jetbrains programs.
            It's also finicky, you need to know the exact name of the command or package.
  
      :param str program: The program name to check
      :return: Boolean indicating weather or not the program is installed
      :rtype: bool
      """
      return is_cmd_installed(program) or is_pkg_installed(program)
code_tokens: def installed ( program : str ) -> bool : return is_cmd_installed ( program ) or is_pkg_installed ( program )
short_docstring: Checks is a program is installed.
short_docstring_tokens: Checks is a program is installed .
comment: """Checks is a program is installed.
      NOTE: Works in most cases, but not in every case. Doesn't recognize jetbrains programs.
            It's also finicky, you need to know the exact name of the command or package.
  
      :param str program: The program name to check
      :return: Boolean indicating weather or not the program is installed
      :rtype: bool
      """