code: def validate(self, value):
          
          for validate in self.validates:
              value = validate(value)
          return value
docs: Validate value.
          Args:
            value:
          Returns:
            A validated value.
          Raises:
            UnitError