code: def check_milestone_items(items):
      problems = []
      for item in items:
          if item["kind"] == "issues":
              check_issue(item, problems)
          elif item["kind"] == "pullRequests":
              check_pr(item, problems)
      return problems
  
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 11 for calling a global function with example usage: check_milestone_items(items) and returns: problems