code: def check_additional_data(x, additional_data):
      if not isinstance(additional_data, pd.DataFrame):
          raise ValueError(f"additional_data must be a pd.Dataframe.")
      if not additional_data.index.equals(x.index):
          raise ValueError(
              f"x and additional_data should have the same index."
          )
  
imports: import copy
  import numpy
  import pandas
  from shapash.utils.category_encoder_backend import no_dummies_category_encoder, supported_category_encoder, dummies_category_encoder
  from shapash.utils.columntransformer_backend import no_dummies_sklearn, supported_sklearn
  from shapash.utils.model import extract_features_model
  from shapash.utils.model_synoptic import dict_model_feature
  from shapash.utils.transform import preprocessing_tolist, check_transformers
  from shapash.utils.columntransformer_backend import columntransformer, get_feature_names, get_list_features_names
label_desc: Use image node_id 12 for calling a global function with example usage: check_additional_data(x, additional_data) without return types