AO is simply "is the surface occluded?" in other words, is something casting a shadow onto it (this is the main original use of AO after all, to fake contact shadows). PS - by casting a shadow, this is not related to shadows from actual light sources in the scene of course, just "close enough it would be casting a shadow from rays from all directions from say an env. light or from light bouncing evenly around the scene"