better typeof sample.value === 'undefined'