is_relative_to is better than starts_with (#2871)