def is_leap_year(year):
	"""
	Helper function for get_timestamp.

	:param year: The year.
	:returns True if the year is a leap year.
	"""

	year = int(year)
	if(year%400) ==0:
		leap=1
	elif (year%100) == 0:
		leap = 0
	elif (year%4) == 0:
		leap = 1
	else:
		leap = 0
	return leap