code: public ServiceStatus getServiceStatus() {
          boolean canSendProbeRequest = !isHardTrip && lastFailure.get() > 0
              && allowRequest();
  
          if (byPass) {
              return new ServiceStatus(name, Status.DEGRADED, "Bypassed");
          }
  
          switch(state) {
              case OPEN:
                  return (canSendProbeRequest ?
                          new ServiceStatus(name, Status.DEGRADED, "Send Probe Request")
                          : new ServiceStatus(name, Status.DOWN, "Open"));
              case HALF_CLOSED: return new ServiceStatus(name, Status.DEGRADED, "Half Closed");
              case CLOSED:
              default:
                  return new ServiceStatus(name, Status.UP);
          }
      }
docs: Get the current {@link ServiceStatus} of the
  {@link CircuitBreaker}, including the name,
  {@link org.fishwife.jrugged.Status}, and reason.
  @return the {@link ServiceStatus}.