检查一个 Cookie 是否存在
Cookie 名称
Cookie 存在时返回 true
true
hasCookie('token') // true / false Copy
hasCookie('token') // true / false
检查一个 Cookie 是否存在