code: def check_name_valid(cls, name: str):
      if not re.fullmatch(GENERIC_ASSET_NAME_RE, name):
          raise errors.InvalidNameError(
              f"Invalid name `{name}`, can only contain [a-z], [0-9], [/], [-] or [_]"
          )
  
file_path: modelkit/modelkit/assets/settings.py
imports: import os
  import re
  import typing
  from modelkit.assets import errors
  from modelkit.assets.versioning.major_minor import MajorMinorAssetsVersioningSystem
  from modelkit.assets.versioning.simple_date import SimpleDateAssetsVersioningSystem
  from modelkit.assets.versioning.versioning import AssetsVersioningSystem
label_desc: Use image node_id 6 for calling the AssetSpec obj's underlying member method code with example usage: obj.check_name_valid(cls, name) without return types