Add is_under method to root_die. Cache results of type_die::equals.