code: def _is_hadamard_grad_compatible(obj):
      """Check if the operation is compatible with Hadamard gradient transform."""
      return obj.name in hadamard_comp_list
  
file_path: pennylane/pennylane/transforms/tape_expand.py
imports: import contextlib
  import pennylane
  from pennylane.operation import has_gen, gen_is_multi_term_hamiltonian, has_grad_method, has_nopar, has_unitary_gen, is_measurement, is_trainable, not_tape
label_desc: Use image node_id 3 for calling a global function with example usage: _is_hadamard_grad_compatible(obj) and returns: unknown