Fast Enterprises interview question

Write pseudo code for finding if a number is prime, return a boolean