code: def _verify_subservices_initialization(
      sub_service, is_initialized: bool
  ):
      assert sub_service.is_initialized == is_initialized
      if isinstance(sub_service, _HasChildrenMixin):
          for child in sub_service.get_children():
              _verify_subservices_initialization(child, is_initialized)
  
imports: from typing import Any, Tuple
  import pytest
  from neuraxle.base import BaseService, BaseStep
  from neuraxle.base import ExecutionContext
  from neuraxle.base import Identity, MetaStep, NamedStepsList, _HasChildrenMixin
  from neuraxle.hyperparams.space import RecursiveDict
  from neuraxle.pipeline import Pipeline
  from testing_neuraxle.test_pipeline import SomeStep
label_desc: Use image node_id 5 for calling a global function with example usage: _verify_subservices_initialization(sub_service, is_initialized) without return types