The correct response is: Yes, because it is a right triangle.
The Pythagorean Theorem specifically applies to right triangles, which have one angle that measures 90 degrees. If the triangle you are referencing has a right angle, then the theorem can be used to relate the lengths of the sides. If the triangle is not a right triangle, the theorem does not apply.