isLeapYear

fun YearMonth.isLeapYear(): Boolean

Determines if a given year is a leap year. A year is a leap year if it is divisible by 4, unless it is a century year not divisible by 400.