Question d’entretien chez Fast Enterprises

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