code: def assert_offline(html):
      assert get_plotlyjs() in html
  
imports: import json
  import sys
  import base64
  import threading
  import time
  import pytest
  import requests
  import numpy
  import webbrowser
  import plotly.graph_objs
  import plotly.io
  from plotly.offline import get_plotlyjs
  from plotly.io._utils import plotly_cdn_url
label_desc: Use image node_id 10 for calling a global function with example usage: assert_offline(html) without return types