can't we just not put any data property ? you're testing for a falsy value anyway