code: public boolean canRight() {
          if (parent == null) {
              return false;
          }
  
          if (index + 1 >= parent.getNode().getGroups().size()) {
              return false;
          }
  
          return true;
      }
docs: Returns true if it is possible to navigate right.
  
  @return true, if it is possible to navigate right