def METHOD_NAME(self) -> None:
    if not (isinstance(self.constant_rate_factor, int) and 0 <= self.constant_rate_factor < 52):
        raise ValueError("Constant rate factor must be an integer in the range [0, 51].")
    if not isinstance(self.verbose, bool):
        raise ValueError("The argument `verbose` has to be of type bool.")