canPop function

bool canPop()

return true if we can do pop

Implementation

bool canPop() {
  _validateRouterState();
  return _state!.canPop();
}