code: def search_for_version(version, number_of_waits, testpypi=False):
      wait_delay = 2
      result = False
      for i in range(number_of_waits):
          if version in versions("nptsne", testpypi):
              print("Found")
              exit(0)
              break
          wait_delay = 2 * wait_delay
          time.sleep(wait_delay)
      print("Not found")
      exit(1)
  
imports: import glob
  import json
  import os
  import pathlib
  import platform
  import re
  import shutil
  import sys
  import tempfile
  import tempfile
  import time
  import subprocess
  import urllib, urllib.request
  from setuptools import Extension
  from setuptools.command.build_ext import build_ext
  from distutils.version import LooseVersion
  from distutils.file_util import copy_file
  from distutils import log
  from pathlib import Path
label_desc: Use image node_id 2 for calling a global function with example usage: search_for_version(version, number_of_waits, testpypi) without return types