Design a function in Python to test if the given number is a prime or not.
N = 13
def is_prime(n):
 if n <= 1:
 return False

 for i in range(2, n):
 if n % i == 0:
 return False

 return True

is_prime(13) # True