The function is defined in GlanceHelper (same bellow)