Fast Enterprises Interview Question

Write pseudocode for an isPrime(number) function.