Pregunta de entrevista de Fast Enterprises

Write a function that determines whether a given number is prime or not.