def is_leap_year(year):
if (year % <NUM_LIT>) == <NUM_LIT:0>:<EOL><INDENT>return True<EOL><DEDENT>elif (year % <NUM_LIT:100>) == <NUM_LIT:0>:<EOL><INDENT>return False<EOL><DEDENT>elif (year % <NUM_LIT:4>) == <NUM_LIT:0>:<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Checks to see if a given year is a leap year.

Args:
    Integer, the year to test.

Returns:
    Boolean