docs: def _setVal(self, name, val, defVal = None):
          """set value of name to val in case the val != defVal"""
          if val == defVal:
              return
          if not hasattr(self, "vals"):
              self.vals = {}
          self.vals[name] = val