method redirect_ok =
    let sv = call_method sv "redirect_ok" [] in
    bool_of_sv sv