class_docstr: Decorator pattern. It simply iterates the method of its member as many times as needed.
  It thus extends any class to apply its methods to a list of arguments.
class_docstr_tok: ["Decorator","pattern",".","It","simply","iterates","the","method","of","its","member","as","many","times","as","needed",".","It","thus","extends","any","class","to","apply","its","methods","to","a","list","of","arguments","."]
docstr: Override check_contributions from SmartState.
  Return True if all conditions computed are True.
  
  Parameters
  ----------
  contributions : list
      List of local contributions to check.
  x_init : pandas.DataFrame
      Prediction set.
  
  Returns
  -------
  Bool
      True if all inputs share same shape and index with the prediction set.
docstr_tok: ["Override","check_contributions","from","SmartState",".","Return","True","if","all","conditions","computed","are","True",".","Parameters","--","--","--","--","--","contributions",":","list","List","of","local","contributions","to","check",".","x_init",":","pandas.DataFrame","Prediction","set",".","Returns","--","--","--","-","Bool","True","if","all","inputs","share","same","shape","and","index","with","the","prediction","set","."]
code: def check_contributions(
      self, contributions, x_init, features_names=True
  ):
      """
      Override check_contributions from SmartState.
      Return True if all conditions computed are True.
  
      Parameters
      ----------
      contributions : list
          List of local contributions to check.
      x_init : pandas.DataFrame
          Prediction set.
  
      Returns
      -------
      Bool
          True if all inputs share same shape and index with the prediction set.
      """
      bools = self.delegate(
          "check_contributions", contributions, x_init, features_names
      )
      return all(bools)
  
file_path: shapash/shapash/explainer/multi_decorator.py
imports: from shapash.explainer.smart_state import SmartState
label_desc: Use image node_id 8 for calling the MultiDecorator obj's underlying member method code with example usage: obj.check_contributions(contributions, x_init, features_names) and returns: all