def CheckDependencies(verbose_output=True):
  """Checks the availability of the dependencies.

  Args:
    verbose_output (Optional[bool]): True if output should be verbose.

  Returns:
    bool: True if the dependencies are available, False otherwise.
  """
  print('Checking availability and versions of dependencies.')
  check_result = True

  for module_name, version_tuple in sorted(PYTHON_DEPENDENCIES.items()):
    if not _CheckPythonModule(
        module_name, version_tuple[0], version_tuple[1],
        is_required=version_tuple[3], maximum_version=version_tuple[2],
        verbose_output=verbose_output):
      check_result = False

  if not _CheckSQLite3(verbose_output=verbose_output):
    check_result = False

  if check_result and not verbose_output:
    print('[OK]')

  print('')
  return check_result
def CheckDependencies ( verbose_output = True ) : print ( 'Checking availability and versions of dependencies.' ) check_result = True for module_name , version_tuple in sorted ( PYTHON_DEPENDENCIES . items ( ) ) : if not _CheckPythonModule ( module_name , version_tuple [ 0 ] , version_tuple [ 1 ] , is_required = version_tuple [ 3 ] , maximum_version = version_tuple [ 2 ] , verbose_output = verbose_output ) : check_result = False if not _CheckSQLite3 ( verbose_output = verbose_output ) : check_result = False if check_result and not verbose_output : print ( '[OK]' ) print ( '' ) return check_result
Checks the availability of the dependencies.

  Args:
    verbose_output (Optional[bool]): True if output should be verbose.

  Returns:
    bool: True if the dependencies are available, False otherwise.