The Pythagorean Theorem states that if you have a right triangle, then it should follow the formula:
a^2 + b^2 = c^2, where a and b are legs and c is the hypotenuse.
So, the converse is basically the opposite of that:
If a triangle follows the formula a^2 + b^2 = c^2, then it is a right triangle.