code: def _check_node_in_graph(self, node):
      if node not in self:
          raise NodeNotFoundError(
              "{} is not in the graph.".format(node)
          )
  
file_path: baikal/baikal/_core/digraph.py
imports: from collections import deque, defaultdict, OrderedDict
label_desc: Use image node_id 13 for calling the DiGraph obj's underlying member method code with example usage: obj._check_node_in_graph(node) without return types