code: def is_child(subgraph, node, stop_nodes):
      if len(subgraph) == 1:
          return subgraph[0] == node
      for input in subgraph[1:]:
          if input not in stop_nodes and is_child(
              input, node, stop_nodes
          ):
              return True
      return False
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import edward.inferences.conjugacy.conjugate_log_probs
  import numpy
  import six
  import tensorflow
  import time
  from collections import defaultdict
  from edward.inferences.conjugacy.simplify import symbolic_suff_stat, full_simplify, expr_contains, reconstruct_expr
  from edward.models.random_variables import *
  from edward.util import copy, get_blanket
label_desc: Use image node_id 9 for calling a global function with example usage: is_child(subgraph, node, stop_nodes) and returns: False, unknown, True