class_docstr: Visits the Graph recursively and checks if it contains ops in the op_list
class_docstr_tok: ["Visits","the","Graph","recursively","and","checks","if","it","contains","ops","in","the","op_list"]
docstr: This function recursively visits the graph and checks if op_list ops are ongraph"
docstr_tok: ["This","function","recursively","visits","the","graph","and","checks","if","op_list","ops","are","ongraph","''"]
code: def are_ops_on_graph(self, subgraph) -> bool:
      """
      This function recursively visits the graph and checks if op_list ops are ongraph"
      """
      self.visit(subgraph)
      return self.on_graph
  
imports: import itertools
  import logging
  from typing import Tuple
  import numpy
  import pytest
  import tvm
  import tvm.relay.testing
  import tvm.testing
  from tvm import relay
  from tvm.contrib.download import download
  from tvm.relay import Any, GlobalVar
  from tvm.relay.expr_functor import ExprVisitor
  from tvm.relay.op.contrib import tensorrt
label_desc: Use image node_id 3 for calling the AreOpsOnGraph obj's underlying member method code with example usage: obj.are_ops_on_graph(subgraph) and returns: self