code: def test_Hierarchical(self) -> None:
      # Test case where only some of the values entail dependents.
      hierarchical_param = FixedParameter(
          name="x",
          parameter_type=ParameterType.BOOL,
          value=True,
          # pyre-fixme[6]: For 4th param expected `Optional[Dict[Union[None, bool,
          #  float, int, str], List[str]]]` but got `Dict[bool, str]`.
          dependents={True: "other_param"},
      )
      self.assertTrue(hierarchical_param.is_hierarchical)
      self.assertEqual(
          hierarchical_param.dependents, {True: "other_param"}
      )
  
      # Test case where nonexistent value entails dependents.
      with self.assertRaises(UserInputError):
          FixedParameter(
              name="x",
              parameter_type=ParameterType.BOOL,
              value=True,
              # pyre-fixme[6]: For 4th param expected `Optional[Dict[Union[None,
              #  bool, float, int, str], List[str]]]` but got `Dict[bool, str]`.
              dependents={False: "other_param"},
          )
  
imports: from ax.core.parameter import _get_parameter_type, ChoiceParameter, EPS, FixedParameter, ParameterType, RangeParameter
  from ax.exceptions.core import UserInputError
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 11 for calling the FixedParameterTest obj's underlying member method code with example usage: obj.test_Hierarchical() without return types