code: public boolean isMasterSecretValid(final Socket socket) {
          return AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
              @Override
              public Boolean run() {
                  return privilegedIsMasterSecretValid(socket);
              }
          });
      }
docs: Double check the master secret of an SSL session is not null
  
  @param socket
  connected socket
  @return True if master secret is valid (i.e. non-null) or master secret cannot be validated,
  false otherwise