code: def isprime(n):
      # *****************************************************************************80
      #
      ## IS_PRIME returns True if N is a prime number, False otherwise
      #
      #
      # 	Licensing:
      #
      # 		This code is distributed under the GNU LGPL license.
      #
      # 	Modified:
      #
      #    		22 February 2011
      #
      # 	Author:
      #
      # 		Corrado Chisari
      #
      # 	Parameters:
      #
      # 		Input, integer N, the number to be checked.
      #
      # 		Output, boolean value, True or False
      #
      if n != int(n) or n < 1:
          return False
      p = 2
      while p < n:
          if n % p == 0:
              return False
          p += 1
      return True
  
file_path: auptimizer/src/aup/Proposer/spearmint/sobol_lib.py
imports: from __future__ import print_function
  import math
  from numpy import *
label_desc: Use image node_id 7 for calling a global function with example usage: isprime(n) and returns: True, False, False