public static boolean isContainerStopped(InspectContainerResponse.ContainerState state){
  if (state.getRunning() || state.getPaused()) {
    return false;
  }
  boolean hasStarted=isDockerTimestampNonEmpty(state.getStartedAt());
  boolean hasFinished=isDockerTimestampNonEmpty(state.getFinishedAt());
  return hasStarted && hasFinished;
}

public static boolean isContainerStopped ( InspectContainerResponse . ContainerState state ) { if ( state . getRunning ( ) || state . getPaused ( ) ) { return false ; } boolean hasStarted = isDockerTimestampNonEmpty ( state . getStartedAt ( ) ) ; boolean hasFinished = isDockerTimestampNonEmpty ( state . getFinishedAt ( ) ) ; return hasStarted && hasFinished ; }
based on this status , has the container halted ?
