Validating target route path in a `{{link-to}}` using the application's router instance

asking here out of curiosity. I am building a list of links dynamically based on a response of the server link so:

{{#each links as |link|}}
    {{link-to 'a page' link}}
{{/each}}

Is there a proper way to validate that link actually exists in my application’s router instance? If not, I figured instantiating a new route with link as the path and catching the error would suffice.