def is_leap_year(year):
  # Condense if-else into single return
  return (year%4==0 and year%100!=0) or year%400==0

c9f1d709d2a56af27fc540a87fccd830903e416c
<mask token>

def is_leap_year(year):
    return year % 4 == 0 and year % 100 != 0 or year % 400 == 0

def is_leap_year(year):
  # Condense if-else into single return
  return (year%4==0 and year%100!=0) or year%400==0
