code: def _is_sequence(maybe_seq):
      return isinstance(maybe_seq, (list, tuple, dict))
  
imports: import tensorflow.compat.v1
  import tf_slim
  from tensorflow.python.ops import gen_nn_ops
label_desc: Use image node_id 2 for calling a global function with example usage: _is_sequence(maybe_seq) and returns: isinstance