code: def test_check_initialized_fails_fitted():
      """[Utils] check_initialized: fails initialized and fitted."""
      np.testing.assert_raises(
          ParallelProcessingError,
          check_initialized,
          Tmp(Lyr(True), 1, 1),
      )
  
imports: import numpy
  from mlens.externals.sklearn.base import clone
  from mlens.utils.checks import check_ensemble_build, assert_valid_estimator, assert_correct_format, check_initialized
  from mlens.utils.dummy import OLS, Scale
  from mlens.testing import EstimatorContainer
  from mlens.utils.exceptions import LayerSpecificationError, LayerSpecificationWarning, NotFittedError, ParallelProcessingError, ParallelProcessingWarning
label_desc: Use image node_id 18 for calling a global function with example usage: test_check_initialized_fails_fitted() without return types