Yes, that's it.
Or, the two acute angles sum to 90 in a right-angled triangle,
since 180-90=90, therefore the acute ones sum to 90,
but the triangle must be right-angled. It's the same thing really, just a little quicker.
In general, the sum of the 3 angles in a triangle is 180 degrees.