Fast Enterprises interview question

Write pseudocode for an isPrime(number) function.