Fast Enterprises Interview Question

Q: Write a function that returns whether a number is prime.