Hi Laurie,
I added your post to the composting forum, which may help with getting more feedback.
While I am definitely not any kind of expert, here's my thoughts:
Like with everything in life, I'm sure there are risks to consider, however I would find it hard to simply discard a batch of compost that has had that much time put into it. Personally, I would probably be hesitant to use it for anything that would be eaten raw (lettuce, for instance), but I'd totally use it around perennials,
trees, and other things that grow up and fruit above the ground. Honestly, I'd probably even use it for melons, squash, etc. that have tough/thick skin that's removed before consumption.
Also, just go with your gut feeling. If you know that you'd be paranoid, no matter what, about the risk of using it, and would ultimately not want to eat the produce; then there's no sense in using it & causing yourself to stress. If you already know that you wouldn't hesitate to eat the produce, then use it.
I suppose, if you are really hesitant, you could, either, create a hot compost pile in another spot, and incorporate the existing stuff to expose it to the heat, or move the current one, add some browns & inoculate with some fungi to work on it a while.
Again, this is just my thoughts, and one of the experts on here will likely have better advice