[tor-commits] [tor/master] Replace low-level {var_type, struct_var}_is_*() with flag inspection