Yes, this is a typical pythagorean triad.
Since the theorem is:

And by inspection,

would be the hypotenuse,

25 = 9 + 16
RHS = 9 + 16 = 25 = LHS
Therefore, we have proved that the values fit into pythagoras' theorem, which means that the triangle is a right triangle (that is the central idea of this theorem).