code: def check_version(package_name: str) -> Optional[str]:
      try:
          return version_parser(package_name)
      except PackageNotFoundError:
          # package is not installed
          return None
  
imports: import sys
  from typing import Optional
  from packaging.version import parse
  from neptune.common.warnings import warn_once
label_desc: Use image node_id 1 for calling a global function with example usage: check_version(package_name) and returns: version_parser, None