Returns true if prime number is passed.

Using require prime.