code: def check_python_version(obj):
      # argo-workflows integration for Metaflow isn't supported for Py versions below 3.5.
      # This constraint can very well be lifted if desired.
      if sys.version_info < (3, 5):
          obj.echo("")
          obj.echo(
              "Metaflow doesn't support Argo Workflows for Python %s right now."
              % platform.python_version()
          )
          obj.echo(
              "Please upgrade your Python interpreter to version 3.5 (or higher) or "
              "reach out to us at slack.outerbounds.co for more help."
          )
          raise UnsupportedPythonVersion(
              "Try again with a more recent version of Python (>=3.5)."
          )
  
imports: import base64
  import json
  import platform
  import re
  import sys
  from hashlib import sha1
  from metaflow import JSONType, current, decorators, parameters
  from metaflow._vendor import click
  from metaflow.exception import MetaflowException, MetaflowInternalError
  from metaflow.metaflow_config import ARGO_WORKFLOWS_UI_URL, KUBERNETES_NAMESPACE, SERVICE_VERSION_CHECK, UI_URL
  from metaflow.package import MetaflowPackage
  from metaflow.plugins.aws.step_functions.production_token import load_token, new_token, store_token
  from metaflow.plugins.environment_decorator import EnvironmentDecorator
  from metaflow.plugins.kubernetes.kubernetes_decorator import KubernetesDecorator
  from metaflow.tagging_util import validate_tags
  from metaflow.util import get_username, to_bytes, to_unicode, version_parse
  from .argo_workflows import ArgoWorkflows
label_desc: Use image node_id 4 for calling a global function with example usage: check_python_version(obj) without return types