code: def assert_valid_name(name):
      """Helper to assert that provided names are valid."""
      assert COMPILED_NAME_PATTERN.match(
          name
      ), 'Names must match /{}/ but "{}" does not.'.format(
          NAME_PATTERN, name
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: assert_valid_name(name) without return types