code: def uses_external_data(tensor: TensorProto) -> bool:
      """Returns true if the tensor stores data in an external location."""
      return (
          tensor.HasField("data_location")
          and tensor.data_location == TensorProto.EXTERNAL
      )
  
imports: import os
  import re
  import sys
  import uuid
  from itertools import chain
  from typing import Callable, Iterable, Optional
  from onnx.onnx_pb import AttributeProto, GraphProto, ModelProto, TensorProto
label_desc: Use image node_id 15 for calling a global function with example usage: uses_external_data(tensor) and returns: unknown