'Returns a list of apphooks to which this CMSAttachMenu is attached.
Calling this does NOT produce DB queries.'

@classmethod
def get_apphooks(cls):

    apps = []
    for (key, _) in apphook_pool.get_apphooks():
        app = apphook_pool.get_apphook(key)
        if (cls in app.get_menus()):
            apps.append(app)
    return apps
