code: def _check_initial_guess(init, n_clusters):
      if hasattr(init, "__array__"):
          assert init.shape[0] == n_clusters, (
              "Initial guess index array must contain {} samples,"
              " {} given".format(n_clusters, init.shape[0])
          )
  
file_path: tslearn/tslearn/clustering/utils.py
imports: from sklearn.metrics.cluster import silhouette_score
  from scipy.spatial.distance import cdist
  import numpy
  from tslearn.metrics import cdist_dtw, cdist_soft_dtw_normalized
  from tslearn.preprocessing import TimeSeriesResampler
  from tslearn.utils import to_time_series_dataset, to_time_series
label_desc: Use image node_id 5 for calling a global function with example usage: _check_initial_guess(init, n_clusters) without return types