code: public boolean isExact(Group group) {
      if (isAnyAgent() && group.isAnyAgent()) return true;
      if ((isAnyAgent() && !group.isAnyAgent() || (!isAnyAgent() && group.isAnyAgent()))) return false;
  
      return group.userAgents.stream().anyMatch(sectionUserAgent->userAgents.stream().anyMatch(userAgent->userAgent.equalsIgnoreCase(sectionUserAgent)));
    }
docs: Checks if group is exact in terms of user agents.
  @param group group to compare
  @return {@code true} if sections are exact.