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