Learn proofs well and you get pretty good and knowing when you’re right. Enough for almost any problem you’ll be likely to encounter in a math textbook anyway.
It's a little like saying "learn programming well enough and you'll know if some piece of code works as expected without running it."
That is 100% true.
Obviously the code needs to be self-contained (not calling into other unknown code) but so do mathematical proofs.