code: public boolean isGroupEnd()
      {
          if (getValue() == null || isCommand() || getValue().length() != 1)
              return false;
          return getValue().charAt(0) == ')' || getValue().charAt(0) == ']';
      }
docs: <p>
  isGroupEnd.
  </p>
  
  @return a boolean.