This switches for a check against null to "all falsy values". Is empty string ok or should it be treated the same as null?

Although the former code was using '==' so this is actually the same behavior as before, was that behavior correct?