code: def cntk_check_distro_info():
      __my_distro__ = ""
      __my_distro_ver__ = ""
      __my_system__ = platform.system().lower()
      __my_arch__ = platform.architecture()[0].lower()
  
      __OS_RELEASE_FILE__ = "/etc/os-release"
      __LSB_RELEASE_FILE__ = "/etc/lsb-release"
  
      if __my_arch__ != "64bit":
          warnings.warn(
              "Unsupported architecture (%s). CNTK supports 64bit architecture, only."
              % __my_arch__
          )
  
      if __my_system__ == "windows":
          __my_distro__ = __my_system__
          __my_distro_ver__ = platform.release().lower()
  
          if __my_distro_ver__ != "10":
              warnings.warn(
                  "Unsupported Windows version (%s). CNTK supports Windows 10 and above, only."
                  % __my_distro_ver__
              )
      elif __my_system__ == "linux":
          """Although the 'platform' python module for getting Distro information works well on standard OS images running on real
          hardware, it is not acurate when running on Azure VMs, Git Bash, Cygwin, etc. The returned values for release and version
          are unpredictable for virtualized or emulated environments.
  
          /etc/os-release and /etc/lsb_release files, on the other hand, are guaranteed to exist and have standard values in all
          OSes supported by CNTK. The former is the current standard file to check OS info and the latter is its antecessor.
          """
          # Newer systems have /etc/os-release with relevant distro info
          __my_distro__ = linecache.getline(__OS_RELEASE_FILE__, 3)[
              3:-1
          ]
          __my_distro_ver__ = linecache.getline(__OS_RELEASE_FILE__, 6)[
              12:-2
          ]
  
          # Older systems may have /etc/os-release instead
          if not __my_distro__:
              __my_distro__ = linecache.getline(
                  __LSB_RELEASE_FILE__, 1
              )[11:-1]
              __my_distro_ver__ = linecache.getline(
                  __LSB_RELEASE_FILE__, 2
              )[16:-1]
  
          # Instead of trying to parse distro specific files,
          # warn the user CNTK may not work out of the box
          __my_distro__ = __my_distro__.lower()
          __my_distro_ver__ = __my_distro_ver__.lower()
  
          if __my_distro__ != "ubuntu" or __my_distro_ver__ != "16.04":
              warnings.warn(
                  "Unsupported Linux distribution (%s-%s). CNTK supports Ubuntu 16.04 and above, only."
                  % (__my_distro__, __my_distro_ver__)
              )
      else:
          warnings.warn(
              "Unsupported platform (%s). CNTK supports Linux and Windows platforms, only."
              % __my_system__
          )
  
file_path: CNTK/bindings/python/cntk/cntk_py_init.py
imports: import sys
  import os
  import platform
  import linecache
  import warnings
  from subprocess import call
label_desc: Use image node_id 1 for calling a global function with example usage: cntk_check_distro_info() without return types