code: def _check_causal_properties(causal_props, expected_causal_effects):
      assert (
          causal_props[ListProperties.MANAGER_TYPE]
          == ManagerNames.CAUSAL
      )
      assert causal_props[CausalManagerKeys.CAUSAL_EFFECTS] is not None
      assert (
          len(causal_props[CausalManagerKeys.CAUSAL_EFFECTS])
          == expected_causal_effects
      )
  
      for causal_effect in causal_props[
          CausalManagerKeys.CAUSAL_EFFECTS
      ]:
          assert causal_effect["global_effects_computed"]
          assert causal_effect["local_effects_computed"]
          assert causal_effect["policies_computed"]
  
imports: import numpy
  import pandas
  import pytest
  from econml.solutions.causal_analysis._causal_analysis import CausalAnalysis
  from raiutils.exceptions import UserConfigValidationException
  from raiutils.models import ModelTask
  from responsibleai._interfaces import CausalConfig, CausalData, CausalPolicy, CausalPolicyGains, CausalPolicyTreeInternal, CausalPolicyTreeLeaf
  from responsibleai._internal.constants import CausalManagerKeys, ListProperties, ManagerNames
  from responsibleai._tools.causal.causal_result import CausalResult
label_desc: Use image node_id 2 for calling a global function with example usage: _check_causal_properties(causal_props, expected_causal_effects) without return types