code: def _verify_subservices_names(
      sub_service, sub_service_name: RecursiveDict
  ):
      assert (
          sub_service.name == sub_service_name["name"]
      ), f"Not equal: {sub_service.name} != {sub_service_name['name']}."
      if isinstance(sub_service, _HasChildrenMixin):
          for child in sub_service.get_children():
              _verify_subservices_names(
                  child, sub_service_name[child.name]
              )
  
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 7 for calling a global function with example usage: _verify_subservices_names(sub_service, sub_service_name) without return types