code: def is_prime(n):
      if n % 2 == 0:
          return False
  
      import math
  
      sqrt_n = int(math.floor(math.sqrt(n)))
      for i in range(3, sqrt_n + 1, 2):
          if n % i == 0:
              return False
      return True
  
label_desc: Use image node_id 1 for calling a global function with example usage: is_prime(n) and returns: True, False, False