code: def IsProto2(message):
      return message.DESCRIPTOR.syntax == "proto2"
  
imports: import numbers
  import operator
  import os.path
  import sys
  from google.protobuf import unittest_import_pb2
  from google.protobuf import unittest_pb2
  from google.protobuf import descriptor_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: IsProto2(message) and returns: unknown