class_docstr: Filter node test.
class_docstr_tok: ["Filter","node","test","."]
code: def test_stopped(self):
      in_que = DataQueue(
          [("url", ColumnType.SCALAR), ("num", ColumnType.QUEUE)]
      )
      in_que.put(("test_url", 1))
      in_que.put(("test_url", 1))
      in_que.seal()
      out_que1 = DataQueue(
          [
              ("url", ColumnType.SCALAR),
              ("num", ColumnType.QUEUE),
              ("larger_than_5", ColumnType.QUEUE),
          ]
      )
      out_que1.seal()
      node = create_node(
          self.node_repr, self.op_pool, [in_que], [out_que1]
      )
      self.assertTrue(node.initialize())
      f = self.thread_pool.submit(node.process)
      f.result()
      self.assertEqual(node.status, NodeStatus.STOPPED)
      self.assertTrue(out_que1.sealed)
      self.assertTrue(out_que1.size == 0)
  
imports: import unittest
  import time
  import copy
  import uuid
  from concurrent.futures import ThreadPoolExecutor
  from towhee.runtime.node_repr import NodeRepr
  from towhee.runtime.nodes import create_node, NodeStatus
  from towhee.runtime.data_queue import DataQueue, ColumnType, Empty
  from towhee.runtime.operator_manager import OperatorPool
label_desc: Use image node_id 8 for calling the TestFilterNode obj's underlying member method code with example usage: obj.test_stopped() without return types