make unset value accessible by a function

the ``unset_value`` of attributes is usefule independently