code: def use_operator_or_provided_hint_unless_contradicting(
      operator, hint_attr_name, provided_hint_value, message
  ):
      """Get combined hint in the case where operator.hint should equal hint.
  
      Args:
        operator:  LinearOperator that a meta-operator was initialized with.
        hint_attr_name:  String name for the attribute.
        provided_hint_value:  Bool or None. Value passed by user in initialization.
        message:  Error message to print if hints contradict.
  
      Returns:
        True, False, or None.
  
      Raises:
        ValueError: If hints contradict.
      """
      op_hint = getattr(operator, hint_attr_name)
      # pylint: disable=g-bool-id-comparison
      if op_hint is False and provided_hint_value:
          raise ValueError(message)
      if op_hint and provided_hint_value is False:
          raise ValueError(message)
      if op_hint or provided_hint_value:
          return True
      if op_hint is False or provided_hint_value is False:
          return False
      # pylint: disable=g-bool-id-comparison
      return None
  
imports: import numpy
  from tensorflow_probability.python.internal.backend.numpy import dtype
  from tensorflow_probability.python.internal.backend.numpy import ops
  from tensorflow_probability.python.internal.backend.numpy import ops
  from tensorflow_probability.python.internal.backend.numpy import numpy_array
  from tensorflow_probability.python.internal.backend.numpy import debugging
  from tensorflow_probability.python.internal.backend.numpy import control_flow
  from tensorflow_probability.python.internal.backend.numpy import linalg_impl
  from tensorflow_probability.python.internal.backend.numpy import numpy_math
  from tensorflow_probability.python.internal.backend.numpy import ops
  from tensorflow_probability.python.internal.backend.numpy import nest
  import numpy
  from tensorflow_probability.python.internal.backend.numpy import linalg_impl
  from tensorflow_probability.python.internal.backend.numpy import ops
  from tensorflow_probability.python.internal.backend.numpy.gen import tensor_shape
  from tensorflow_probability.python.internal.backend.numpy import private
label_desc: Use image node_id 17 for calling a global function with example usage: use_operator_or_provided_hint_unless_contradicting(operator, hint_attr_name, provided_hint_value, message) and returns: None, True, False