code: def check_version_valid(cls, version: str):
      if version:
          major_version, minor_version = cls._parse_version_str(version)
          cls._check_version_number(major_version)
          cls._check_version_number(minor_version)
          cls._check_major_version(major_version, minor_version)
  
imports: import re
  import typing
  from modelkit.assets import errors
  from modelkit.assets.versioning import versioning
label_desc: Use image node_id 2 for calling the MajorMinorAssetsVersioningSystem obj's underlying member method code with example usage: obj.check_version_valid(cls, version) without return types