code: def cotpi(x):
      try:
          return cospi(x) / sinpi(x)
      except OverflowError:
          if complex(x).imag > 10:
              return -1j
          if complex(x).imag < 10:
              return 1j
          raise
  
imports: import operator
  import math
  import cmath
label_desc: Use image node_id 10 for calling a global function with example usage: cotpi(x) and returns: unknown, unknown, int