code: def _is_negative_delta(delta: Delta) -> bool:
      return dedent(str(delta)).startswith("-")
  
file_path: streamlit/lib/streamlit/elements/metric.py
imports: from dataclasses import dataclass
  from textwrap import dedent
  from typing import TYPE_CHECKING, Optional, Union, cast
  from typing_extensions import Literal, TypeAlias
  from streamlit.elements.utils import get_label_visibility_proto_value
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.Metric_pb2 import Metric
  from streamlit.runtime.metrics_util import gather_metrics
  from streamlit.string_util import clean_text
  from streamlit.type_util import LabelVisibility, maybe_raise_label_warnings
label_desc: Use image node_id 5 for calling a global function with example usage: _is_negative_delta(delta) and returns: dedent