docstr: Tells the runtime if this node needs the context
  (all the results produced so far) as it may silently access
  one of them (operator Loop).
  The default answer is `False`.
docstr_tok: ["Tells","the","runtime","if","this","node","needs","the","context","(","all","the","results","produced","so","far",")","as","it","may","silently","access","one","of","them","(","operator","Loop",")",".","The","default","answer","is","`","False","`","."]
code: def need_context(self) -> bool:
      """Tells the runtime if this node needs the context
      (all the results produced so far) as it may silently access
      one of them (operator Loop).
      The default answer is `False`.
      """
      return True
  
file_path: onnx/onnx/reference/ops/op_if.py
imports: from __future__ import annotations
  import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 2 for calling the If obj's underlying member method code with example usage: obj.need_context() and returns: True