code: def is_abstract(c):
      if not (hasattr(c, "__abstractmethods__")):
          return False
      if not len(c.__abstractmethods__):
          return False
      return True
  
file_path: tslearn/tslearn/tests/test_estimators.py
imports: import tslearn
  import pkgutil
  import inspect
  from functools import partial
  from operator import itemgetter
  import sklearn
  from sklearn.base import BaseEstimator, ClassifierMixin, ClusterMixin, RegressorMixin, TransformerMixin
  from sklearn.exceptions import SkipTestWarning
  from sklearn.utils.estimator_checks import check_no_attributes_set_in_init, check_parameters_default_constructible, _maybe_skip
  from tslearn.tests.sklearn_patches import check_clustering, check_non_transf_est_n_iter, check_fit_idempotent, check_classifiers_classes, check_classifiers_train, check_estimators_pickle, check_supervised_y_2d, check_regressor_data_not_an_array, check_classifier_data_not_an_array, check_regressors_int_patched, check_classifiers_cont_target, check_pipeline_consistency, yield_all_checks, _create_large_ts_dataset
  from tslearn.shapelets import LearningShapelets
  import warnings
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: is_abstract(c) and returns: True, False, False