Implement a function that checks if a year is a leap year.
The function should return true if a year is a leap year, and false if it is not.
Note
|
Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400 |