In the triangle \(ABC\) the heights \(AD\) and \(CE\) intersect at the point \(F\). It is known that \(CF=AF\). Prove that the triangle \(ABC\) is isosceles.