code: def validate(self):
          
          depr = self._all_deprecated
          return dict((key, val[1]) for key, val in
                      six.iteritems(self.defaultParams)
                      if key not in depr)
docs: Dictionary with validation methods as values