added isEmpty to Navigation and NavigationApi