Why do you have to check this instead of just `typeof req.cookies === 'object'` ?