code: def _validate_indendation(indentation_type, current_indentation):
      if not current_indentation:
          return
  
      match = re.search(
          "^(" + indentation_type + ")+$", current_indentation
      )
      if not match:
          raise Exception(
              "Indentation invalid, current indentation is ("
              + indentation_type
              + "), but ("
              + current_indentation
              + ") was received."
          )
  
file_path: blazingsql/pyblazing/pyblazing/apiv2/algebra/json_plan.py
imports: import collections
  import json
  import re
label_desc: Use image node_id 6 for calling a global function with example usage: _validate_indendation(indentation_type, current_indentation) without return types