Looks like it returns `true` if the thing isn't `typeof string`, which is correct if its undefined. But if its an object or number or something I'd prefer the thing to crash with a proper error message than to prompt the user for their email & password.