docs: private void verifyClusterState() {
          NodeEngineImpl nodeEngine = (NodeEngineImpl) getNodeEngine();
          ClusterState clusterState = nodeEngine.getClusterService().getClusterState();
          if (!clusterState.isMigrationAllowed()) {
              throw new IllegalStateException("Cluster state does not allow migrations! " + clusterState);
          }
      }