Determines if year is a leap year