code: def validate_code_is_release_ready(version: Version) -> None:
      """Make sure the code base is valid (e.g. Rasa SDK is up to date)."""
  
      sdk = Version(get_rasa_sdk_version())
      sdk_version = (sdk.major, sdk.minor)
      rasa_version = (version.major, version.minor)
  
      if sdk_version != rasa_version:
          print()
          print(
              f"\033[91m There is a mismatch between the Rasa SDK version ({sdk}) "
              f"and the version you want to release ({version}). Before you can "
              f"release Rasa OSS, you need to release the SDK and update "
              f"the dependency. \033[0m"
          )
          print()
          sys.exit(1)
  
imports: import argparse
  import os
  import re
  import sys
  from pathlib import Path
  from subprocess import CalledProcessError, check_call, check_output
  from typing import Text, Set
  import questionary
  import toml
  from pep440_version_utils import Version, is_valid_version
label_desc: Use image node_id 11 for calling a global function with example usage: validate_code_is_release_ready(version) without return types