method is_redirect =
    bool_of_sv (call_method sv "is_redirect" [])