code: def _is_map(desc: descriptor.Descriptor) -> bool:
      return desc.GetOptions().map_entry if desc is not None else False
  
file_path: tensorflow-upstream/tensorflow/tools/proto_splitter/util.py
imports: from collections.abc import Sequence
  from typing import Any, Optional, Union
  from google.protobuf import descriptor
  from google.protobuf import message
  from tensorflow.tools.proto_splitter import chunk_pb2
label_desc: Use image node_id 5 for calling a global function with example usage: _is_map(desc) and returns: unknown