At that point you can take a few bites. If you end up needing a liver transplant, then you know it was toxic.
There are some mushrooms that have very few known lookalikes (varies by geo/region), which have a handful of strong identifying factors. Morels, oysters, and a few others come to mind, where if you can confidently confirm these factors, you can be reasonably sure that you’ve identified them correctly.
That said, people sometimes convince themselves of these factors, especially when they haven’t had much experience identifying them before.
I do know a number of members of the IMA that have been there longer than me, and don’t forage at all!
Amanitas often have a deadly toxin known as Amatoxin, for example.
Some others are sometimes reclassified from toxic to “sort-of-toxic” or “unknown.”
Common mushrooms like Morels can have their toxins cooked out (throw out the cooking water!), while others like Amatoxins will persist.
Still others affect some people, but not others - and some toxins induce negative effects in the presence of other chemicals in the system, like Inky Caps and Alcohol - the combination of which can be deadly, or not, depending on a number of factors.
My understanding of the situation overall is: it’s complicated.