def is_prime(num):
	""" Checks if the given number is a prime number or not. """
	if num > 1:
		for i in range(2, num):
			if (num % i) == 0:
				return False
		else:
			return True
	else:
		return False