docs: private void checkContainerState(String methodName, ContainerState minimalState) {
          if (nonPortableMode) {
              return;
          }
          if (this.container == null) {
              this.container = Container.instance(manager);
          }
  
          ContainerState state = container.getState();
          if (SHUTDOWN.equals(state)) {
              throw BeanManagerLogger.LOG.methodNotAvailableAfterShutdown(methodName);
          }
          if (state.compareTo(minimalState) < 0) {
              throw BeanManagerLogger.LOG.methodNotAvailableDuringInitialization(methodName, state);
          }
      }