isPrime

Function to check if a number is prime.

Return

true if the number is prime, false otherwise.

Receiver

The number to check.