code: static SSLContext getSSLContext(ServiceController<SSLContext> sslContextServiceController) {
          if (sslContextServiceController == null || sslContextServiceController.getState() != State.UP) {
              return null;
          } else {
              return sslContextServiceController.getValue();
          }
      }
docs: Get the {@link SSLContext} represented by this {@link Resource} or {@code null} if it is not currently available.
  
  @return The {@link SSLContext} represented by this {@link Resource} or {@code null} if it is not currently available.