code: def _value(self, obj, cls=None):
          
          if obj is not None:
              return getattr(obj, self.propname)
          else:
              return getattr(cls, self.propname)
docs: The state value (called from the wrapper)