On the existence of solutions of the general algebraic Riccati equation