code: public boolean isCompatible(ConfigCheck found) {
          // check group-properties.
          if (!equals(groupName, found.groupName)) {
              return false;
          }
  
          verifyJoiner(found);
          verifyPartitionGroup(found);
          verifyPartitionCount(found);
          verifyApplicationValidationToken(found);
          return true;
      }
docs: Checks if two Hazelcast configurations are compatible.
  
  @param found the {@link ConfigCheck} to compare this to
  @return true if compatible. False if part of another group.
  @throws ConfigMismatchException if the configuration is not compatible.
  An exception is thrown so we can pass a nice message.