Please write without the loop, e.g.:

```py
_check_is_int(public_exponent)
_check_is_int(modulus)
```