validator.isPrime()

A commodity method for testing if the argument is an integer and a primer number.