def all_success(mgmt_commands):
  """Determines if all child processes were successful.

  Args:
    mgmt_commands : A list of all Command objects

  Returns:
    True if all child processes succeeded
  """

  for mgmt_command in mgmt_commands:
    if mgmt_command.retcode != 0:
      return False
  return True