Check if the three angles form a triangle