code: def check_features_to_vary(self, features_to_vary):
      if features_to_vary is not None and features_to_vary != "all":
          not_training_features = set(features_to_vary) - set(
              self.feature_names
          )
          if len(not_training_features) > 0:
              raise UserConfigValidationException(
                  "Got features {0} which are not present in training data".format(
                      not_training_features
                  )
              )
  
file_path: DiCE/dice_ml/data_interfaces/base_data_interface.py
imports: from abc import ABC, abstractmethod
  import pandas
  from raiutils.exceptions import UserConfigValidationException
  from dice_ml.utils.exception import SystemException
label_desc: Use image node_id 4 for calling the _BaseData obj's underlying member method code with example usage: obj.check_features_to_vary(features_to_vary) without return types