class_docstr: Test addition and inclusion of operations and subclasses in attributes.
docstr: Test that we can check inclusion using Operations.
docstr_tok: ["Test","that","we","can","check","inclusion","using","Operations","."]
code: def test_operation_class_inclusion(self):
      """Test that we can check inclusion using Operations."""
      assert qml.PauliZ(0) in new_attribute
      assert qml.RX(0.5, wires=0) not in new_attribute
  
imports: import itertools
  import pytest
  import numpy
  from scipy.stats import unitary_group
  import pennylane
  from pennylane.ops.qubit.attributes import Attribute, has_unitary_generator
  from pennylane.operation import AnyWires
label_desc: Use image node_id 4 for calling the TestAttribute obj's underlying member method code with example usage: obj.test_operation_class_inclusion() without return types