code: def assert_bounded_sockets(prev_sockets, new_sockets):
      print(new_sockets)
      assert len(new_sockets) <= len(
          prev_sockets
      ), f"prev {prev_sockets}, new {new_sockets}"
  
file_path: ray/python/ray/tests/test_bounded_unix_sockets.py
imports: import sys
  import os
  import ray
  import logging
  import psutil
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: assert_bounded_sockets(prev_sockets, new_sockets) without return types