code: def _is_prime(number: int) -> bool:
      if number < 2 or (number % 2 == 0 and number > 2):
          return False
      for i in range(3, int(np.sqrt(number - 1)) + 1, 2):
          if number % i == 0:
              return False
      return True
  
file_path: orion/src/orion/algo/mofa/sampler.py
imports: from __future__ import annotations
  import logging
  import numpy
  from numpy.random import RandomState
  from scipy.stats.qmc import LatinHypercube
  from orion.algo.space import Space
label_desc: Use image node_id 1 for calling a global function with example usage: _is_prime(number) and returns: True, False, False