def METHOD_NAME(
    docker_stack: DockerStackInfo, simcore_docker_compose: dict
) -> ComposeSpec:
    # verifies core_services_selection
    assert set(docker_stack["stacks"]["core"]["compose"]["services"]) == set(
        simcore_docker_compose["services"]
    )
    return docker_stack["stacks"]["core"]["compose"]