code: function(name, cookie) {
      if (typeof cookie === 'undefined') {
        cookie = this.cookies[name]
      }
      var now = new Date()
      if (cookie && cookie.expires && now > cookie.expires) {
        delete this.cookies[name]
        return false
      }
      return true
    }
docs: Internal function