This lambda probably allocates per call, we should hand write `.Any` _Originally posted by @BrennanConroy in https://github.com/dotnet/aspnetcore/pull/42384#discussion_r920591217_