code: def is_repeated(field_desc: descriptor.FieldDescriptor) -> bool:
      return (
          field_desc.label == descriptor.FieldDescriptor.LABEL_REPEATED
      )
  
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 6 for calling a global function with example usage: is_repeated(field_desc) and returns: unknown