code: def _IsMapEntry(field):
      return (
          field.type == descriptor.FieldDescriptor.TYPE_MESSAGE
          and field.message_type.has_options
          and field.message_type.GetOptions().map_entry
      )
  
imports: import base64
  import json
  import math
  from operator import methodcaller
  import re
  import sys
  import six
  from google.protobuf.internal import type_checkers
  from google.protobuf import descriptor
  from google.protobuf import symbol_database
label_desc: Use image node_id 3 for calling a global function with example usage: _IsMapEntry(field) and returns: unknown