Added `is-prime` function to `extend/math`