new API to check if menu already exists