code: @Override
      public boolean hasAccess(final TargetMode _targetMode,
                               final Instance _instance)
          throws EFapsException
      {
          boolean ret = super.hasAccess(_targetMode, _instance);
  
          if (ret && getCommands().size() > 0 && !AppAccessHandler.excludeMode()) {
              ret = false;
              for (final AbstractCommand cmd : getCommands()) {
                  if (cmd.hasAccess(_targetMode, _instance)) {
                      ret = true;
                      break;
                  }
              }
          }
          return ret;
      }
docs: Check, if the user of the context has access to this user interface
  object. First, the instance method checks, if some access configuration
  exists for this menu instance object. If the user has access for this
  menu, it is test, if the context user has access to minimum one sub
  command command / menu. If yes, the user is allowed to access this menu
  instance, other the user is not allowed to access this menu.
  
  @param _targetMode TargetMode of the Command
  @param _instance the field will represent, e.g. on edit mode
  @return <i>true</i>if context user has access, otherwise <i>false</i> is
  returned
  @throws EFapsException on error