code: def stable_semver():
      """
      Get the stable portion of the semantic version string (the first three
      numbers), without any of the trailing labels
  
      '3.0.0rc11' -> '3.0.0'
      """
      from distutils.version import LooseVersion
  
      version_components = LooseVersion(__version__).version
      stable_ver_str = ".".join(str(s) for s in version_components[0:3])
      return stable_ver_str
  
label_desc: Use image node_id 1 for calling a global function with example usage: stable_semver() and returns: stable_ver_str