code: def _check_vectorization_type(vectorization_type, n_args):
      if vectorization_type in ("sym", "basic") or n_args == 1:
          return
  
      try:
          val = None
          for val in vectorization_type.split("-")[1:]:
              int(val)
  
          if val is None or int(val) > n_args:
              raise ValueError(
                  "Unable to repeat unexisting args for vectorization type "
                  f"`{vectorization_type}` and `n_args = {n_args}"
              )
  
      except ValueError:
          raise ValueError(
              f"Unable to understand vectorization type `{vectorization_type}`. "
              "Can handle `sym` and `repeat-(int)` format."
          )
  
file_path: geomstats/geomstats/test/vectorization.py
imports: import copy
  import inspect
  import itertools
  from geomstats.vectorization import repeat_point
label_desc: Use image node_id 2 for calling a global function with example usage: _check_vectorization_type(vectorization_type, n_args) without return types