def _is_leap_year(year):
isleap = ((np.mod(year, <NUM_LIT:4>) == <NUM_LIT:0>) &<EOL>((np.mod(year, <NUM_LIT:100>) != <NUM_LIT:0>) | (np.mod(year, <NUM_LIT>) == <NUM_LIT:0>)))<EOL>return isleap<EOL>
Determine if a year is leap year.

    Parameters
    ----------
    year : numeric

    Returns
    -------
    isleap : array of bools