code: def resource_files_requested(response, requested=True):
      if not isinstance(response, str):
          import codecs
  
          response = codecs.decode(response, "utf-8")
      for file in [
          "static/js/bokeh.min.js",
          "static/js/bokeh-widgets.min.js",
      ]:
          if requested:
              assert file in response
          else:
              assert file not in response
  
imports: from __future__ import annotations
  import pytest
  import asyncio
  import logging
  import re
  import ssl
  import sys
  import time
  from datetime import timedelta
  from unittest import mock
  import tornado
  from _util_server import http_get, url, websocket_open, ws_url
  from tornado.httpclient import HTTPError
  from tornado.httpserver import HTTPServer
  from tornado.ioloop import IOLoop
  from bokeh.application import Application
  from bokeh.application.handlers import Handler
  from bokeh.client import pull_session
  from bokeh.core.properties import List, String
  from bokeh.core.types import ID
  from bokeh.model import Model
  from bokeh.server.server import BaseServer, Server
  from bokeh.server.tornado import BokehTornado
  from bokeh.util.token import check_token_signature, generate_jwt_token, get_session_id, get_token_payload
  from tests.support.plugins.managed_server_loop import MSL
  import bokeh.server.server
label_desc: Use image node_id 6 for calling a global function with example usage: resource_files_requested(response, requested) without return types