code: function is_redirect(result)
  {
  	return is_object(result) && result.redirect && Object.keys(result).length === 1
  }
docs: Checks if a route handler requests a redirect to a URL (then `result` must have a form of `{ redirect: "/url" }`)