check for all falsy values not just undefined