code: @NullSafe
    public static boolean isRunning(Process process) {
      try {
        return (process != null && process.exitValue() == Double.NaN);
      }
      catch (IllegalThreadStateException ignore) {
        return true;
      }
    }
docs: Null-safe method to determine whether the given {@link Process} is still running.
  
  @param process {@link Process} object to evaluate if running.
  @return a boolean value indicating whether the given {@link Process} is still running.
  @see java.lang.Process