code: def InLabels(labels, substr):
      """Returns true iff one of the labels contains substr."""
      return any(substr in x for x in labels)
  
file_path: tensorflow/tensorflow/compiler/tests/dense_layer_test.py
imports: import os
  import numpy
  from tensorflow.compiler.tests import test_utils
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.compiler.xla import jit
  from tensorflow.python.framework import ops
  from tensorflow.python.layers import layers
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling a global function with example usage: InLabels(labels, substr) and returns: any