docs: public static boolean startRMIRegistry(Configuration configuration, int port) {
          if (isRMIRegistryRunning(configuration, port))
              return true;
  
          if (configuration.getBoolean(FoundationMonitoringConstants.IN_PROC_RMI)) {
              return startInProcRMIRegistry(port);
          } else {
              return startOutProcRMIRegistry(configuration, port);
          }
      }