A CHARACTERIZATION OF COMPOSITION OPERATORS ON ALGEBRAS OF ANALYTIC FUNCTIONS