Checking for falsy values should be enough after looking at other code