docs: public boolean hasGroup(String groupName) {
          boolean result = false;
          for (Group item : getGroupsList()) {
              if (item.getName().equals(groupName)) {
                  result = true;
              }
          }
          return result;
      }