Uhmmm... any better approach? Is there any way to check `getTrustedHeaderName` upfront instead?