added ability to determine if item is in menu or not