Is the number even?

If the numbers is even return `true`. If it's odd, return `false`. 


Oh yeah... the following symbols/commands have been disabled!

 use of ```%```
 use of ```.even?``` in Ruby
 use of ```mod``` in Python

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def is_even(n):
	

Solutions:
def is_even(n):
	return not n & 1


def is_even(n):
	return n // 2 * 2 == n


def is_even(n):
	return n & 1 == 0


def is_even(n):
	return n / 2 == int(n / 2)


def is_even(n):
	return str(n)[-1] in '02468'


is_even = lambda n: n | 1 != n


def is_even(n):
	return str(bin(n)[2:])[-1] == '0'


def is_even(n):
	return n & 1 ^ 1


def is_even(n):
	twos = []
	for i in range(0, 1000000, 2):
		twos.append(i)
	if n in twos:
		return True
	else:
		return False