Fast Enterprises interview question

How would you create a function "isPrime()"?