code: def expr_contains(expr, node_type):
      if expr[0] == node_type:
          return True
      for i in expr[1:]:
          if expr_contains(i, node_type):
              return True
      return False
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
label_desc: Use image node_id 22 for calling a global function with example usage: expr_contains(expr, node_type) and returns: False, True, True