code: def probe_operating_system() -> str:
      """
      Probes the system to determine the operating system.
      :return: The name of the operating system, e.g. win32, darwin, ubuntu16.04, centos7, etc.
      """
      logger.debug("Determining operating system")
      operating_system = sys.platform
      logger.debug("Found platform: {}".format(operating_system))
      if operating_system.startswith("linux"):
          operating_system = get_linux_distribution_and_version()
  
      logger.debug("Operating system is {}".format(operating_system))
      return operating_system
  
imports: import argparse
  import ctypes
  import glob
  import logging
  import os
  import re
  import sys
  from itertools import chain
  from subprocess import CalledProcessError, check_output
  from typing import Dict, List, Optional
  import boto3
  import botocore.exceptions
  import yaml
label_desc: Use image node_id 9 for calling a global function with example usage: probe_operating_system() and returns: operating_system