code: def ping_pongs(server_url):
      try:
          response = requests.post(server_url + "/ping")
      except requests.exceptions.ConnectionError:
          # Expected
          return False
  
      return (
          response.status_code == 200
          and response.content.decode("utf-8") == "pong"
      )
  
imports: from unittest import TestCase
  import plotly.io
  import subprocess
  import os
  from packaging.version import Version
  import requests
  import time
  import psutil
  import pytest
  import plotly.graph_objects
  from plotly.io._orca import find_open_port, which, orca_env
label_desc: Use image node_id 2 for calling a global function with example usage: ping_pongs(server_url) and returns: unknown, False