code: def check_if_cuda_compiled():
      p = subprocess.Popen("cuda-compiled")
      p.communicate()
      if p.returncode == 1:
          return False
      else:
          return True
  
imports: from __future__ import print_function
  from __future__ import division
  import argparse
  import logging
  import math
  import os
  import subprocess
  import sys
  import threading
label_desc: Use image node_id 3 for calling a global function with example usage: check_if_cuda_compiled() and returns: False, True