code: def _is_survival_mixin(x):
      return (
          inspect.isclass(x)
          and x is not SurvivalAnalysisMixin
          and issubclass(x, SurvivalAnalysisMixin)
      )
  
file_path: scikit-survival/sksurv/testing.py
imports: from importlib import import_module
  import inspect
  from pathlib import Path
  import pkgutil
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  import pytest
  import sksurv
  from sksurv.base import SurvivalAnalysisMixin
  from sksurv.metrics import concordance_index_censored
label_desc: Use image node_id 4 for calling a global function with example usage: _is_survival_mixin(x) and returns: unknown