exposed iconExist function to lua script