code: def test_not_contains(sample):
      space = Graph(node_space=Discrete(2), edge_space=Discrete(2))
      assert sample not in space
  
imports: import re
  import numpy
  import pytest
  from gym.spaces import Discrete, Graph, GraphInstance
label_desc: Use image node_id 3 for calling a global function with example usage: test_not_contains(sample) without return types