code: def get_label_for(data, kind):
      labels = get_labels(data)
      for label in labels:
          if label.startswith(kind):
              return label.replace(kind, "")
      return None
  
file_path: bokeh/scripts/milestone.py
imports: import datetime
  import logging
  import os
  import sys
  from itertools import groupby
  from pathlib import Path
  import click
  import requests
label_desc: Use image node_id 3 for calling a global function with example usage: get_label_for(data, kind) and returns: None, label