You can verify if you triangle is rectangle.