An enzyme that catalyzes the hydrolysis of cholesterol esters and some other sterol esters, to liberate cholesterol plus a fatty acid anion.