def leap(year):
if year > <NUM_LIT:0>:<EOL><INDENT>y = <NUM_LIT><EOL><DEDENT>else:<EOL><INDENT>y = <NUM_LIT><EOL><DEDENT>return ((((((year - y % <NUM_LIT>) + <NUM_LIT>) + <NUM_LIT>) * <NUM_LIT>) % <NUM_LIT>) < <NUM_LIT>)<EOL>
Is a given year a leap year in the Persian calendar ?