hasTriangle with comment