code: def is_port_in_use(port):
      import socket
  
      with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
          return s.connect_ex(("localhost", port)) == 0
  
file_path: litellm/litellm/proxy/proxy_cli.py
imports: import click
  import subprocess, traceback, json
  import os, sys
  import random
  from datetime import datetime
  import importlib
  from dotenv import load_dotenv
  from importlib import resources
  import shutil
label_desc: Use image node_id 2 for calling a global function with example usage: is_port_in_use(port) and returns: unknown