code: def check_version_valid(cls, version: str):
      if not re.fullmatch(DATE_RE, version):
          raise errors.InvalidVersionError(
              f"Invalid version `{version}`"
          )
  
file_path: modelkit/modelkit/assets/versioning/simple_date.py
imports: import datetime
  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 SimpleDateAssetsVersioningSystem obj's underlying member method code with example usage: obj.check_version_valid(cls, version) without return types