Added function to determine if a menu link exists in a given menu