class_docstr: Interleave a random configuration, decreasing the fraction of random configurations over time.
  
  Parameters
  ----------
  start_modulus : float, defaults to 2.0
     Initially, every modulus-th configuration will be at random.
  modulus_increment : float, defaults to 0.3
     Increase modulus by this amount in every iteration.
  end_modulus : float, defaults to np.inf
     The maximum modulus ever used. If the value is reached before the optimization
     is over, it is not further increased. If it is not reached before the optimization is over,
     there will be no adjustment to make sure that the `end_modulus` is reached.
  seed : int, defaults to 0
      Integer used to initialize the random state. This class does not use the seed.
code: def check(self, iteration: int) -> bool:  # noqa: D102
      assert iteration >= 0
  
      if iteration % self._modulus < 1:
          return True
      else:
          return False
  
file_path: SMAC3/smac/random_design/modulus_design.py
imports: from __future__ import annotations
  from typing import Any
  import numpy
  from smac.random_design.abstract_random_design import AbstractRandomDesign
  from smac.utils.logging import get_logger
label_desc: Use image node_id 4 for calling the DynamicModulusRandomDesign obj's underlying member method code with example usage: obj.check(iteration) and returns: True, False