code: def get_python_arch(python_bin_path):
      get_python_arch_command = [
          f"{python_bin_path}/python",
          "-c",
          "import platform; print(platform.machine())",
      ]
      process = subprocess.check_output(
          get_python_arch_command, stderr=None
      )
      current_python_arch = process.decode().strip()
      if (
          current_python_arch == "arm64"
          or current_python_arch == "x86_64"
      ):
          return current_python_arch
      else:
          print_error_and_exit(
              f"Got wrong Python architecture for {python_bin_path}!\n"
              f"Check your settings file or Python installation."
          )
  
file_path: lets-plot/build_release.py
imports: import platform
  import sys
  import subprocess
  import yaml
label_desc: Use image node_id 6 for calling a global function with example usage: get_python_arch(python_bin_path) and returns: current_python_arch