Tony Yip says to YSITD
n % 4 == 0 && (n % 100 != 0 || n % 400 == 0)