code: public static boolean clientIdentEqual(final ClntIdent ident1, final ClntIdent ident2) {
          boolean areEqual = true;
          if (ident1 == null || ident2 == null || ident1.discriminator() == null || ident2.discriminator() == null) {
              areEqual = false;
          } else if (ident1.discriminator().value() != ident2.discriminator().value()) {
              areEqual = false;
          } else if (ident1.discriminator().equals(LockerLanguage.CPP) && ident1.cpp_clnt() != ident2.cpp_clnt()) {
              areEqual = false;
          } else if (ident1.discriminator().equals(LockerLanguage.JAVA)
                  && ident1.java_clnt().MainClass.equalsIgnoreCase(ident2.java_clnt().MainClass)) {
              areEqual = false;
          } else if (ident1.discriminator().equals(LockerLanguage.JAVA)
                  && !Arrays.equals(ident1.java_clnt().uuid, ident2.java_clnt().uuid)) {
              areEqual = false;
          }
          return areEqual;
      }
docs: Compare if two {@link ClntIdent} are coming from the same client
  
  @param ident1
  The first ident
  @param ident2
  The second ident
  @return