def METHOD_NAME(self, cognite_client: CogniteClient, integration_test_space: Space) -> None:
    spaces_with_global = cognite_client.data_modeling.spaces.list(include_global=True, limit=-1)
    assert any(s.is_global for s in spaces_with_global), "Add at least one global space to CDF for testing."
    spaces_without_global = cognite_client.data_modeling.spaces.list(include_global=False, limit=-1)
    assert all(s.is_global is False for s in spaces_without_global)