Add utility function to identify if a menu item is active #98